aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.cc
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2024-08-19 14:58:38 -0700
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-09-03 10:16:06 +0200
commite083e728668c7aba698fd846767feeeefbd99506 (patch)
tree0d7df7138573ecbf9d58230e2d50289edbf4c64f /gcc/fold-const.cc
parentb776b08b718feb059fed80b1de6bcf280fd6f03c (diff)
downloadgcc-e083e728668c7aba698fd846767feeeefbd99506.zip
gcc-e083e728668c7aba698fd846767feeeefbd99506.tar.gz
gcc-e083e728668c7aba698fd846767feeeefbd99506.tar.bz2
ada: Reject illegal array aggregates as per AI22-0106.
Implement the new legality rules of AI22-0106 which (as discussed in the AI) are needed to disallow constructs whose semantics would otherwise be poorly defined. gcc/ada/ * sem_aggr.adb (Resolve_Array_Aggregate): Implement the two new legality rules of AI11-0106. Add code to avoid cascading error messages.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions