diff options
Diffstat (limited to 'gcc/ada/binde.adb')
-rw-r--r-- | gcc/ada/binde.adb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/binde.adb b/gcc/ada/binde.adb index 5caee49..97b2764 100644 --- a/gcc/ada/binde.adb +++ b/gcc/ada/binde.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2019, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -1056,6 +1056,8 @@ package body Binde is -- becomes zero, then add to no-predecessor list. S := UNR.Table (Chosen).Successors; + pragma Annotate (CodePeer, Modified, S); + while S /= No_Successor loop U := Succ.Table (S).After; UNR.Table (U).Num_Pred := UNR.Table (U).Num_Pred - 1; @@ -2390,6 +2392,8 @@ package body Binde is begin if ST.Reason in Elab_All .. Elab_All_Desirable then L := ST.Elab_All_Link; + pragma Annotate (CodePeer, Modified, L); + while L /= No_Elab_All_Link loop Nam := Elab_All_Entries.Table (L).Needed_By; Error_Msg_Unit_1 := Nam; |