diff options
author | Richard Guenther <rguenther@suse.de> | 2012-03-20 09:31:40 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-03-20 09:31:40 +0000 |
commit | 7ebf9677e58b3f97e71f267e4f27bcaf01458393 (patch) | |
tree | 0549509c3acd6070b5ca74672b96a9e435dd8bf6 /gcc/except.c | |
parent | 9b96cf92a4334eccb74163397e94ade6e4acac48 (diff) | |
download | gcc-7ebf9677e58b3f97e71f267e4f27bcaf01458393.zip gcc-7ebf9677e58b3f97e71f267e4f27bcaf01458393.tar.gz gcc-7ebf9677e58b3f97e71f267e4f27bcaf01458393.tar.bz2 |
stor-layout.c (finish_bitfield_representative): Fallback to conservative maximum size if the padding up to the next field...
2012-03-20 Richard Guenther <rguenther@suse.de>
* stor-layout.c (finish_bitfield_representative): Fallback
to conservative maximum size if the padding up to the next
field cannot be computed as a constant.
(finish_bitfield_layout): If we cannot compute the distance
between the start of the bitfield representative and the
bitfield member start a new representative.
* expr.c (get_bit_range): The distance between the start of
the bitfield representative and the bitfield member is zero
if the field offsets are not constants.
* gnat.dg/pack16.adb: New testcase.
* gnat.dg/pack16_pkg.ads: Likewise.
* gnat.dg/specs/pack8.ads: Likewise.
* gnat.dg/specs/pack8_pkg.ads: Likewise.
From-SVN: r185563
Diffstat (limited to 'gcc/except.c')
0 files changed, 0 insertions, 0 deletions