diff options
author | Ed Schonberg <schonberg@adacore.com> | 2005-06-16 10:36:48 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-06-16 10:36:48 +0200 |
commit | 643a083902f22090fcaf22863558c79850a1d053 (patch) | |
tree | 0418da4d08536fc0e807240bc6e514c2d4e5d889 /gcc/ada/switch-c.adb | |
parent | 2aab5fd53b1e58ff46df944161645943fb1bbe5c (diff) | |
download | gcc-643a083902f22090fcaf22863558c79850a1d053.zip gcc-643a083902f22090fcaf22863558c79850a1d053.tar.gz gcc-643a083902f22090fcaf22863558c79850a1d053.tar.bz2 |
exp_aggr.adb (Aggr_Size_OK): An array with no components can always be expanded in place.
2005-06-14 Ed Schonberg <schonberg@adacore.com>
* exp_aggr.adb (Aggr_Size_OK): An array with no components can always
be expanded in place. The size computation does not require a
subtraction, which would raise an exception on a compiler built with
assertions when the upper bound is Integer'first.
(Flatten): For an array of composite components, take into account the
size of the components to determine whether it is safe to expand the
array into a purely positional representation.
From-SVN: r101031
Diffstat (limited to 'gcc/ada/switch-c.adb')
0 files changed, 0 insertions, 0 deletions