OSDN Git Service

PR middle-end/27942
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Jun 2006 23:09:58 +0000 (23:09 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Jun 2006 23:09:58 +0000 (23:09 +0000)
commit089ea875cadb7964275990f8e6f7dac81e6fff3c
treeb9d2857c2c76cfb2b205e1818c71fcd7c0d3f8ef
parent187152f720a6bbe9db56e44077d4b27a04efa05f
PR middle-end/27942
* stor-layout.c (update_alignment_for_field): Don't add extra
alignment for packed non-bitfield fields in ms_bitfield_layout_p
code.

* gcc.dg/attr-ms_struct-packed1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114552 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-ms_struct-packed1.c [new file with mode: 0644]