projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2560b
)
[Ada] Never treat intrinsic subprograms as nested
author
Richard Kenner
<kenner@adacore.com>
Thu, 14 Oct 2021 19:31:38 +0000
(15:31 -0400)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Wed, 20 Oct 2021 10:17:06 +0000
(10:17 +0000)
gcc/ada/
* exp_unst.adb (Visit_Node, when N_Subprogram_Call): Never treat
instrinsic subprograms as nested.
gcc/ada/exp_unst.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/exp_unst.adb
b/gcc/ada/exp_unst.adb
index
1c5f618
..
be06580
100644
(file)
--- 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));