This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262800 - in /trunk/gcc/ada: ChangeLog exp_aggr...
- From: pmderodat at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Jul 2018 08:12:14 -0000
- Subject: r262800 - in /trunk/gcc/ada: ChangeLog exp_aggr...
Author: pmderodat
Date: Tue Jul 17 08:12:14 2018
New Revision: 262800
URL: https://gcc.gnu.org/viewcvs?rev=262800&root=gcc&view=rev
Log:
[Ada] Fix expansion of aggregates components rewritten to raise statements
2018-07-17 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* exp_aggr.adb (Component_OK_For_Backend): If an array component of the
enclosing record has a bound that is out of range (and that has been
rewritten as a raise statement) the aggregate is not OK for any back
end, and should be expanded into individual assignments.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_aggr.adb