re PR java/10145 (java and c++ disagree about class layout)
authorJason Merrill <jason@redhat.com>
Mon, 31 Mar 2003 20:25:11 +0000 (15:25 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 31 Mar 2003 20:25:11 +0000 (15:25 -0500)
commitadff28c38d207dc3a6007b81380407de0b3def57
tree4a8375fa12eae842753474c9b26fb22fd446774f
parente66833ac07efec1f12f35de6e3694238dd8ff96f
re PR java/10145 (java and c++ disagree about class layout)

        PR java/10145
        * stor-layout.c (update_alignment_for_field): Respect
        DECL_USER_ALIGN for zero-length bitfields, too.
        * c-decl.c (finish_struct): Don't set DECL_ALIGN for normal
        fields.
        * cp/class.c (check_field_decl): Don't set DECL_ALIGN.

From-SVN: r65103
gcc/ChangeLog
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/stor-layout.c
gcc/testsuite/gcc.dg/align-1.c [new file with mode: 0644]