public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5744] [Ada] Reset internal flags for -gnatD and -gnatG
@ 2021-12-02 16:30 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-12-02 16:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:544b30f81e53ee636aac905be63cc1ed0de88119

commit r12-5744-g544b30f81e53ee636aac905be63cc1ed0de88119
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Sun Nov 28 17:26:27 2021 +0100

    [Ada] Reset internal flags for -gnatD and -gnatG
    
    gcc/ada/
    
            * sprint.adb (Source_Dump): Set both Print_Generated_Code and
            Debug_Generated_Code to False at the end.

Diff:
---
 gcc/ada/sprint.adb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gcc/ada/sprint.adb b/gcc/ada/sprint.adb
index c13be5d1b35..ba2ab3a1e08 100644
--- a/gcc/ada/sprint.adb
+++ b/gcc/ada/sprint.adb
@@ -673,6 +673,11 @@ package body Sprint is
             end if;
          end loop;
       end if;
+
+      --  See above for the rationale, but we cannot do it earlier for them
+
+      Print_Generated_Code := False;
+      Debug_Generated_Code := False;
    end Source_Dump;
 
    ---------------------


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

only message in thread, other threads:[~2021-12-02 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02 16:30 [gcc r12-5744] [Ada] Reset internal flags for -gnatD and -gnatG 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).