------- Comment #1 from Joey dot ye at intel dot com 2008-01-22 06:38 ------- This patch should fix it: Index: gcc/tree-nested.c =================================================================== --- gcc/tree-nested.c (revision 131342) +++ gcc/tree-nested.c (working copy) @@ -183,6 +183,10 @@
TREE_CHAIN (field) = *p; *p = field; + + /* Set correct alignment for frame struct type */ + if (TYPE_ALIGN(type) < DECL_ALIGN (field)) + TYPE_ALIGN(type) = DECL_ALIGN (field); } /* Build or return the RECORD_TYPE that describes the frame state that is -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34921