]> git.ipfire.org Git - thirdparty/gcc.git/commit
stor-layout.c (place_union_field): For bitfields if PCC_BITFIELD_TYPE_MATTERS and...
authorJakub Jelinek <jakub@redhat.com>
Wed, 7 Aug 2002 23:16:44 +0000 (01:16 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 7 Aug 2002 23:16:44 +0000 (01:16 +0200)
commit3d025fc2753ee1b74e532c054c446e28a48c7700
tree255b034deffe47993468d803521c028e3c52db37
parentd7b3369c52cfe15d147d398f00aaf580f6535d6f
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: r56111
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/bitfld-3.c [new file with mode: 0644]