diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-01 13:28:35 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-01 13:28:35 +0000 |
commit | bf9159740f152b758017826e377291c841e250c9 (patch) | |
tree | cdf8ec1f9468fa7640be395895350c0363b5326d /gcc/ada/sem_aggr.adb | |
parent | 7e246b24501096f768a72aa6d6f159cf1a0e8e63 (diff) | |
download | gcc-bf9159740f152b758017826e377291c841e250c9.tar.gz |
2014-08-01 Vincent Celier <celier@adacore.com>
* debug.adb: Minor documentation addition for -dn switch.
2014-08-01 Robert Dewar <dewar@adacore.com>
* sem_aggr.adb, exp_ch9.adb, sem_prag.adb, sem_util.adb,
sem_attr.adb, sem_eval.ads, sem_cat.adb, sem_ch13.adb: Improve
documentation of Is_Static_Expression vs Is_OK_Static_Expression.
In several places, use the Is_OK version as suggested by the spec.
2014-08-01 Vincent Celier <celier@adacore.com>
* gnatcmd.adb: Revert last change which was not correct.
2014-08-01 Hristian Kirtchev <kirtchev@adacore.com>
* freeze.adb (Find_Constant): Ensure that the constant being
inspected is still an object declaration (i.e. not a renaming).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213458 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_aggr.adb')
-rw-r--r-- | gcc/ada/sem_aggr.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_aggr.adb b/gcc/ada/sem_aggr.adb index e5e236bc3c2..2c450c572f1 100644 --- a/gcc/ada/sem_aggr.adb +++ b/gcc/ada/sem_aggr.adb @@ -1732,7 +1732,7 @@ package body Sem_Aggr is ("subtype& has dynamic predicate, not allowed " & "in aggregate choice", Choice, E); - elsif not Is_Static_Subtype (E) then + elsif not Is_OK_Static_Subtype (E) then Error_Msg_NE ("non-static subtype& has predicate, not allowed " & "in aggregate choice", Choice, E); |