re PR c/26774 (Out of memory compiling 9-line Delta-reduced Linux kernel driver msp34...
authorCarlos O'Donell <carlos@codesourcery.com>
Thu, 20 Apr 2006 00:21:51 +0000 (00:21 +0000)
committerCarlos O'Donell <carlos@gcc.gnu.org>
Thu, 20 Apr 2006 00:21:51 +0000 (00:21 +0000)
commit9dfb66b9fe85b353f0efed3a98745f6c686511c1
tree2915a6e02f9f6c44b4b02c47404a627e46d27ab4
parent4fc1015b1dc9007e5ebf68794e0212daee5449b5
re PR c/26774 (Out of memory compiling 9-line Delta-reduced Linux kernel driver msp3400.c)

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.

Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r113107
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/struct-parse-1.c [new file with mode: 0644]