OSDN Git Service

gcc/
authorcarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Apr 2006 00:21:51 +0000 (00:21 +0000)
committercarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Apr 2006 00:21:51 +0000 (00:21 +0000)
commitf6cf83a8650cd8be625333ccc98792f0640b8b35
tree2915a6e02f9f6c44b4b02c47404a627e46d27ab4
parent4d6470ab2b9edf806bce900c16fa30432143cadf
gcc/

2006-04-19  Carlos O'Donell  <carlos@codesourcery.com>
    Nathan Sidwell  <nathan@codesourcery.com>

PR c/26774
* stor-layout.c (update_alignment_for_field): Do not align
ERROR_MARK nodes.
(place_union_field): Place union field at the start of the union.
(place_field): Move ERROR_MARK check later, and use the current
allocation position to maintain monotonicity.

gcc/testsuite/

2006-04-19  Carlos O'Donell  <carlos@codesourcery.com>

PR c/26774
* gcc.dg/struct-parse-1.c: New test case.

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