public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-8278] [Ada] Revert r12-6599 (Fix up handling of ghost units [PR104027])
Date: Wed, 27 Apr 2022 08:00:41 +0000 (GMT)	[thread overview]
Message-ID: <20220427080041.062BC3858C53@sourceware.org> (raw)

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.


                 reply	other threads:[~2022-04-27  8:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220427080041.062BC3858C53@sourceware.org \
    --to=pmderodat@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).