aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/infinite-loop.cc
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2024-03-18 09:58:00 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-05-17 10:21:07 +0200
commit167462f1977e7ed52a0d0aec8508b45bfe78c54b (patch)
tree104a69c2f9a4bd422c02757b14b619577dc89406 /gcc/analyzer/infinite-loop.cc
parentfc477a3f361dd5e72512e4ad42ef204af7c4c3e5 (diff)
downloadgcc-167462f1977e7ed52a0d0aec8508b45bfe78c54b.zip
gcc-167462f1977e7ed52a0d0aec8508b45bfe78c54b.tar.gz
gcc-167462f1977e7ed52a0d0aec8508b45bfe78c54b.tar.bz2
ada: Remove outdated workaround in aggregate expansion
Before this patch, the compiler refrained from rewriting aggregates into purely positional form in some cases of one-component aggregates. As explained in comments, this was because the back end could not handle positional aggregates in those situations. As the back end seems to have grown more capable, this patch removes the workaround. It also extends the comments describing a warning that is emitted in the same configuration with aggregates. gcc/ada/ * exp_aggr.adb (Aggr_Size_OK): Remove workaround and extend comment.
Diffstat (limited to 'gcc/analyzer/infinite-loop.cc')
0 files changed, 0 insertions, 0 deletions