Message ID | CAEwic4bhuTT-YKRLJywfOjD-eFEfYJV88VQo6h9N96Pn5QosEg@mail.gmail.com |
---|---|
State | New |
Headers | show |
Index: tree.c =================================================================== --- tree.c (Revision 221277) +++ tree.c (Arbeitskopie) @@ -1356,7 +1356,9 @@ strip_typedefs (tree t) if (!result) result = TYPE_MAIN_VARIANT (t); if (TYPE_USER_ALIGN (t) != TYPE_USER_ALIGN (result) - || TYPE_ALIGN (t) != TYPE_ALIGN (result)) + || ((TYPE_USER_ALIGN (t) + || (TYPE_SIZE (t) && TREE_CODE (TYPE_SIZE (t)) == INTEGER_CST)) + && TYPE_ALIGN (t) != TYPE_ALIGN (result))) { gcc_assert (TYPE_USER_ALIGN (t)); if (TYPE_ALIGN (t) == TYPE_ALIGN (result))