exp_aggr.adb (Aggr_Size_OK): If the aggregate has a single component and the context...
authorEd Schonberg <schonberg@adacore.com>
Thu, 31 Jul 2008 12:37:33 +0000 (14:37 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 31 Jul 2008 12:37:33 +0000 (14:37 +0200)
commit58fda84daa95719faf5305ad44f09816d1de280a
tree9a5c1f12205e257fb869956506bf95645d055ea3
parent13342fb00afb562f5c7f7eac1c1e97d79b840ef6
exp_aggr.adb (Aggr_Size_OK): If the aggregate has a single component and the context is an object...

2008-07-31  Ed Schonberg  <schonberg@adacore.com>

* exp_aggr.adb (Aggr_Size_OK): If the aggregate has a single component
and the context is an object declaration with non-static bounds, treat
the aggregate as non-static.

From-SVN: r138393
gcc/ada/exp_aggr.adb