aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch12.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-01-20 17:01:22 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2014-01-20 17:01:22 +0100
commit4a28b181a6164561a56bf02dfa1fd568e3d0ec5b (patch)
treed8ec142379c7b7924fd770f6a516efecf89fcc58 /gcc/ada/sem_ch12.adb
parent9e540e3750db65b21ed5f6883176a984f5ab451e (diff)
downloadgcc-4a28b181a6164561a56bf02dfa1fd568e3d0ec5b.zip
gcc-4a28b181a6164561a56bf02dfa1fd568e3d0ec5b.tar.gz
gcc-4a28b181a6164561a56bf02dfa1fd568e3d0ec5b.tar.bz2
[multiple changes]
2014-01-20 Robert Dewar <dewar@adacore.com> * checks.adb: Make warnings on exceptions into errors in GNATprove mode. * errout.adb: Implement [ and ] insertion characters. * errout.ads: Document new [ and ] insertion characters. * sem_ch12.adb, restrict.adb, frontend.adb, exp_ch7.adb: Minor addition of ??? comment. * lib-xref.adb, exp_util.adb, gnat1drv.adb: Minor reformatting * exp_ch4.adb, sem_ch3.adb, sem_ch4.adb, sem_ch6.adb, sem_elab.adb, sem_eval.adb, sem_res.adb, sem_util.adb, sem_attr.adb, sem_aggr.adb: Make warnings on exceptions into errors in GNATprove mode. * sem_dim.adb: Minor reformatting throughout Quote [ and ] in error messages. 2014-01-20 Ed Schonberg <schonberg@adacore.com> * sem_ch13.adb: Code clean up. From-SVN: r206841
Diffstat (limited to 'gcc/ada/sem_ch12.adb')
-rw-r--r--gcc/ada/sem_ch12.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/sem_ch12.adb b/gcc/ada/sem_ch12.adb
index e0276a6..5388f63 100644
--- a/gcc/ada/sem_ch12.adb
+++ b/gcc/ada/sem_ch12.adb
@@ -3722,6 +3722,9 @@ package body Sem_Ch12 is
and then not Is_Actual_Pack
and then not Inline_Now
and then (Operating_Mode = Generate_Code
+
+ -- Need comment for this check ???
+
or else (Operating_Mode = Check_Semantics
and then (ASIS_Mode or GNATprove_Mode)));