diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-12-12 10:02:55 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-12-12 10:02:55 +0000 |
commit | 955379e4ed77883365cd041840bb17245810c095 (patch) | |
tree | 7201b41fb940173e82ed415219cb5e03390d695b /gcc/ada/exp_ch5.adb | |
parent | 16b5f07b5d210a7ae55576043855f50fa72f55db (diff) | |
download | gcc-955379e4ed77883365cd041840bb17245810c095.zip gcc-955379e4ed77883365cd041840bb17245810c095.tar.gz gcc-955379e4ed77883365cd041840bb17245810c095.tar.bz2 |
[Ada] Fix wrong value of 'Size for slices of bit-packed arrays (2)
2019-12-12 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* exp_attr.adb (Expand_Size_Attribute): Look directly at the
prefix to detect the bit-packed slices. Apply the checks last
in case the attribute needs to be processed by the back-end.
* exp_ch4.adb (Expand_N_Slice): Do not create a temporary for
a prefix of the Size attribute.
From-SVN: r279293
Diffstat (limited to 'gcc/ada/exp_ch5.adb')
0 files changed, 0 insertions, 0 deletions