diff options
author | Robert Dewar <dewar@adacore.com> | 2015-01-06 09:12:53 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2015-01-06 10:12:53 +0100 |
commit | 4b6f99f50583af11b3e6798ef4c5bf91b8c28fcd (patch) | |
tree | a622bfbb577e8db77b39114e5c4b8d8cb6f76d19 /gcc/ada/sem_ch10.adb | |
parent | 21f30884bcd502e083f531cc0f5fa1b89c4e22b5 (diff) | |
download | gcc-4b6f99f50583af11b3e6798ef4c5bf91b8c28fcd.zip gcc-4b6f99f50583af11b3e6798ef4c5bf91b8c28fcd.tar.gz gcc-4b6f99f50583af11b3e6798ef4c5bf91b8c28fcd.tar.bz2 |
exp_strm.adb (Build_Elementary_Input_Call): Clarify comments in previous checkin.
2015-01-06 Robert Dewar <dewar@adacore.com>
* exp_strm.adb (Build_Elementary_Input_Call): Clarify comments
in previous checkin.
* freeze.adb (Freeze_Fixed_Point_Type): Add warning for shaving
of bounds.
* sem_prag.adb, sem_ch10.adb, sem_ch6.adb: Minor reformatting.
From-SVN: r219229
Diffstat (limited to 'gcc/ada/sem_ch10.adb')
-rw-r--r-- | gcc/ada/sem_ch10.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/sem_ch10.adb b/gcc/ada/sem_ch10.adb index f482245..39bbcd0 100644 --- a/gcc/ada/sem_ch10.adb +++ b/gcc/ada/sem_ch10.adb @@ -6494,6 +6494,10 @@ package body Sem_Ch10 is Item := First (Context_Items (Comp_Unit)); while Present (Item) loop if Nkind (Item) = N_With_Clause + + -- The following guard is needed to ensure that the name has + -- been properly analyzed before we go fetching its entity. + and then Is_Entity_Name (Name (Item)) and then Entity (Name (Item)) = E and then not Private_Present (Item) |