Retired Army Maj. Gen. Harrison Alan Gerhardt, 71, an assistant to former assistant secretary of war John J. McCloy here during World War II and in Germany following the war when McCloy was U.S. high commissioner there, died of a gastrointestinal hemorrhage Monday at the Walter Reed Army Medical Center.

Gen. Gerhardt, who twice received the Distinguished Service Medal for his work with McCloy, served as McCloys' executive officer at the War Department from 1943 to 1945. He was special assistant to McCloy at the Allied High Commission in Germany from 1949 to 1952.

He also had served with the Allied Control Council in Berlin and on the Army General Staff.

During Gen. Gerhardt's 35-year military career he also had served as chief of the Army's office of legislative liaison and as commanding general of the Southern European Task Force in Italy. His last assignment before retiring in 1967 was as commanding general of the 1st Region of the Army Air Defense Command at Fort Totten, N.Y.

Gen. Gerhardt was born in Brooklyn, N.Y., and graduated from the U.S. Military Academy at West Point in 1932. He earned a master's degree from Columbia University in 1942.

He lived in Bethesda and was an active member and former project director of the United Nations Association and a member of the Army and Navy Club in Washington, the Institute of Foreign Affairs and the National War College Alumni Association.

Survivors include his wife of 31 years, the former Eleanor Mason, of Bethesda.

The family suggests that expressions of sympathy be in the form of contributions to the West Point Class of 1932 Fund.