stor-layout.c (place_union_field): For bitfields if PCC_BITFIELD_TYPE_MATTERS and...
authorJakub Jelinek <jakub@redhat.com>
Wed, 7 Aug 2002 23:20:35 +0000 (01:20 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 7 Aug 2002 23:20:35 +0000 (01:20 +0200)
commitdaf0604921d723fc47a26524ea38c259eb1bdf42
tree9937e8dd70694ce6598cdf005340e12b054b06a7
parent043d39a683dfc5cddfe7042548cb39e3578365b2
stor-layout.c (place_union_field): For bitfields if PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN...

* stor-layout.c (place_union_field): For bitfields if
PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
TYPE_USER_ALIGN.

* gcc.dg/bitfld-3.c: New test.

From-SVN: r56112
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/bitfld-3.c [new file with mode: 0644]