[Ada] Never treat intrinsic subprograms as nested
gcc/ada/ * exp_unst.adb (Visit_Node, when N_Subprogram_Call): Never treat instrinsic subprograms as nested.
This commit is contained in:
parent
bd2560b726
commit
4afb464e1f
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue