From: Pierre-Marie de Rodat Date: Tue, 26 Apr 2022 09:51:47 +0000 (+0000) Subject: [Ada] Revert r12-6599 (Fix up handling of ghost units [PR104027]) X-Git-Tag: basepoints/gcc-13~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b2df4c40c44adcc1d70db11c39593ace9b4cb588;p=thirdparty%2Fgcc.git [Ada] Revert r12-6599 (Fix up handling of ghost units [PR104027]) gcc/ada/ PR ada/104027 * gnat1drv.adb: Remove the goto End_Of_Program. --- diff --git a/gcc/ada/gnat1drv.adb b/gcc/ada/gnat1drv.adb index f85bc13414cb..0a11619db9f7 100644 --- 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.