public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-8278] [Ada] Revert r12-6599 (Fix up handling of ghost units [PR104027])
@ 2022-04-27  8:00 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-04-27  8:00 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b2df4c40c44adcc1d70db11c39593ace9b4cb588

commit r12-8278-gb2df4c40c44adcc1d70db11c39593ace9b4cb588
Author: Pierre-Marie de Rodat <derodat@adacore.com>
Date:   Tue Apr 26 09:51:47 2022 +0000

    [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:
---
 gcc/ada/gnat1drv.adb | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gcc/ada/gnat1drv.adb b/gcc/ada/gnat1drv.adb
index f85bc13414c..0a11619db9f 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-27  8:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27  8:00 [gcc r12-8278] [Ada] Revert r12-6599 (Fix up handling of ghost units [PR104027]) Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).