diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-14 13:47:38 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-14 13:47:38 +0000 |
commit | e8b4793a0087d2632d715562cffbd8ab4b505953 (patch) | |
tree | 1ca40180287ecbdcef7a458af617060301c7fb60 /gcc/ada/sem_ch10.adb | |
parent | 3a87494517dc211c2876b0d12630a9f50e395ec5 (diff) | |
download | ppe42-gcc-e8b4793a0087d2632d715562cffbd8ab4b505953.tar.gz ppe42-gcc-e8b4793a0087d2632d715562cffbd8ab4b505953.zip |
2013-10-14 Robert Dewar <dewar@adacore.com>
* freeze.adb (Freeze_Record): Don't give warning about packed
and foreign convention.
2013-10-14 Ed Schonberg <schonberg@adacore.com>
* sem_aux.adb, sem_aux.ads (Package_Specification): New function, to
replace the less efficient idiom Specification.
(Unit_Declaration_Node (Pack_Id)), which handles library units and
child units.
* sem_ch3.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_ch6.adb,
exp_disp.adb, sem_cat.adb, exp_dist.adb: Use Package_Specification.
2013-10-14 Hristian Kirtchev <kirtchev@adacore.com>
* exp_attr.adb (Expand_Update_Attribute): Update the call to
Process_Range_Update.
(Process_Range_Update): Add new formal parameter Typ and associated
comment on usage. Add local constant Index_Typ. Add a type conversion
as part of the indexed component to ensure that the loop variable
corresponds to the index type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203556 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch10.adb')
-rw-r--r-- | gcc/ada/sem_ch10.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch10.adb b/gcc/ada/sem_ch10.adb index ee2ab6300cd..1c9fd26bbb9 100644 --- a/gcc/ada/sem_ch10.adb +++ b/gcc/ada/sem_ch10.adb @@ -4028,7 +4028,7 @@ package body Sem_Ch10 is Is_Private_Descendant (P_Name) or else Private_Present (Parent (Lib_Unit))); - P_Spec := Specification (Unit_Declaration_Node (P_Name)); + P_Spec := Package_Specification (P_Name); Push_Scope (P_Name); -- Save current visibility of unit |