[Ada] Revert r12-6599 (Fix up handling of ghost units [PR104027])

gcc/ada/

	PR ada/104027
	* gnat1drv.adb: Remove the goto End_Of_Program.
This commit is contained in:
Pierre-Marie de Rodat 2022-04-26 09:51:47 +00:00
parent bc79f0d904
commit b2df4c40c4

View File

@ -1429,11 +1429,6 @@ begin
Ecode := E_Success;
Back_End.Gen_Or_Update_Object_File;
-- Use a goto instead of calling Exit_Program so that finalization
-- occurs normally.
goto End_Of_Program;
-- Otherwise the unit is missing a crucial piece that prevents code
-- generation.