That change was short-circuiting too much, the regular processing (in
particular writing ALI files) was bypassed, causing troubles with e.g.
gnatmake or gprbuild down the road. Thanks to r12-6943, this is no longer
necessary, so revert it.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* gnat1drv.adb: Remove the goto End_Of_Program.
diff --git a/gcc/ada/gnat1drv.adb b/gcc/ada/gnat1drv.adb
--- a/gcc/ada/gnat1drv.adb
+++ b/gcc/ada/gnat1drv.adb
@@ -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.