------- Comment #8 from carlos at gcc dot gnu dot org  2006-04-21 23:43 -------
Subject: Bug 26774

Author: carlos
Date: Fri Apr 21 23:42:43 2006
New Revision: 113155

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

gcc/

2006-04-21  Carlos O'Donell  <[EMAIL PROTECTED]>

        Backport from mainline:
        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-21  Carlos O'Donell  <[EMAIL PROTECTED]>

        Backport from mainline:
        2006-04-19  Carlos O'Donell  <[EMAIL PROTECTED]>
        PR c/26774
        * gcc.dg/struct-parse-1.c: New test case.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/struct-parse-1.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/stor-layout.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to