utils.c (finish_record_type): Clear DECL_BIT_FIELD on sufficiently aligned bit-fields...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 8 Mar 2008 11:30:26 +0000 (11:30 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 8 Mar 2008 11:30:26 +0000 (11:30 +0000)
commit8853cb0bcdbbf5424ceeed44778e302c4249532b
tree6c1f733a1df630a5933cb80960a1e3724216b3f3
parent66abe22c0716119ac01164cebd147d86a0ed8c70
utils.c (finish_record_type): Clear DECL_BIT_FIELD on sufficiently aligned bit-fields...

* utils.c (finish_record_type): Clear DECL_BIT_FIELD on sufficiently
aligned bit-fields, bumping the alignment of the record type if deemed
profitable.
(value_factor_p): Return false instead of 0.

From-SVN: r133028
gcc/ada/ChangeLog
gcc/ada/utils.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/pack4.adb [new file with mode: 0644]