------- Comment #7 from carlos at gcc dot gnu dot org  2006-04-20 00:21 -------
Subject: Bug 26774

Author: carlos
Date: Thu Apr 20 00:21:51 2006
New Revision: 113107

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113107
Log:
gcc/

2006-04-19  Carlos O'Donell  <[EMAIL PROTECTED]>
            Nathan Sidwell  <[EMAIL PROTECTED]>

        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  <[EMAIL PROTECTED]>

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


Added:
    trunk/gcc/testsuite/gcc.dg/struct-parse-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/stor-layout.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26774

Reply via email to