public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4554] [Ada] Never treat intrinsic subprograms as nested
@ 2021-10-20 10:19 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-10-20 10:19 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:4afb464e1f76d63d89c4034f78d5ebb3400eaf3c

commit r12-4554-g4afb464e1f76d63d89c4034f78d5ebb3400eaf3c
Author: Richard Kenner <kenner@adacore.com>
Date:   Thu Oct 14 15:31:38 2021 -0400

    [Ada] Never treat intrinsic subprograms as nested
    
    gcc/ada/
    
            * exp_unst.adb (Visit_Node, when N_Subprogram_Call): Never treat
            instrinsic subprograms as nested.

Diff:
---
 gcc/ada/exp_unst.adb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ada/exp_unst.adb b/gcc/ada/exp_unst.adb
index 1c5f61806c1..be0658034ca 100644
--- a/gcc/ada/exp_unst.adb
+++ b/gcc/ada/exp_unst.adb
@@ -888,6 +888,7 @@ package body Exp_Unst is
                      if Is_Subprogram (Ent)
                        and then not Is_Generic_Subprogram (Ent)
                        and then not Is_Imported (Ent)
+                       and then not Is_Intrinsic_Subprogram (Ent)
                        and then Scope_Within (Ultimate_Alias (Ent), Subp)
                      then
                         Append_Unique_Call ((N, Current_Subprogram, Ent));


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

only message in thread, other threads:[~2021-10-20 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 10:19 [gcc r12-4554] [Ada] Never treat intrinsic subprograms as nested 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).