Commit 34322499 by Richard Kenner

(finish_struct): Don't look at alignment of error_mark_node.

From-SVN: r7804
parent df7d75de
...@@ -5418,7 +5418,7 @@ finish_struct (t, fieldlist) ...@@ -5418,7 +5418,7 @@ finish_struct (t, fieldlist)
#endif #endif
} }
} }
else else if (TREE_TYPE (x) != error_mark_node)
{ {
int min_align = (DECL_PACKED (x) ? BITS_PER_UNIT int min_align = (DECL_PACKED (x) ? BITS_PER_UNIT
: TYPE_ALIGN (TREE_TYPE (x))); : TYPE_ALIGN (TREE_TYPE (x)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment