diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-02 09:17:46 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-02 09:17:46 +0000 |
commit | 992ec8bcb63d0bc997d1d012339cf871c346078f (patch) | |
tree | e10f4754a39287ad20096cfb93f40edf8cf10f77 /gcc/ada/sem_ch5.adb | |
parent | 7ef6449a8e66fff3c9c967bbbe121db720e46458 (diff) | |
download | ppe42-gcc-992ec8bcb63d0bc997d1d012339cf871c346078f.tar.gz ppe42-gcc-992ec8bcb63d0bc997d1d012339cf871c346078f.zip |
2011-08-02 Yannick Moy <moy@adacore.com>
* errout.adb, errout.ads (Check_Formal_Restriction): move procedure
from here...
* restrict.adb, restrict.ads (Check_Formal_Restriction): ...to here
* sem_aggr.adb, sem_ch5.adb, sem_util.adb:
Add with/use clauses to make Check_Formal_Restriction visible
2011-08-02 Ed Schonberg <schonberg@adacore.com>
* sem_ch12.adb (Check_Generic_Actuals): handle properly actual
in-parameters when type of the generic formal is private in the generic
spec and non-private in the body.
2011-08-02 Claire Dross <dross@adacore.com>
* a-cfdlli.adb, a-cfdlli.ads, a-cfhase.adb, a-cfhase.ads, a-cfhama.adb,
a-cfhama.ads, a-cforse.adb, a-cforse.ads, a-cforma.adb, a-cforma.ads,
a-cofove.adb, a-cofove.ads: New files implementing formal containers.
* impunit.adb, Makefile.rtl: Take new files into account.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177102 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch5.adb')
-rw-r--r-- | gcc/ada/sem_ch5.adb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch5.adb b/gcc/ada/sem_ch5.adb index 7d960c82b3a..65880d5604e 100644 --- a/gcc/ada/sem_ch5.adb +++ b/gcc/ada/sem_ch5.adb @@ -36,6 +36,7 @@ with Namet; use Namet; with Nlists; use Nlists; with Nmake; use Nmake; with Opt; use Opt; +with Restrict; use Restrict; with Rtsfind; use Rtsfind; with Sem; use Sem; with Sem_Aux; use Sem_Aux; @@ -1860,8 +1861,9 @@ package body Sem_Ch5 is -- SPARK or ALFA. if Nkind (DS) = N_Range then - Check_Formal_Restriction ("loop parameter specification " - & "must include subtype mark", N); + Check_Formal_Restriction + ("loop parameter specification must include subtype mark", + N); end if; -- Now analyze the subtype definition. If it is a range, create |