From: Richard Kenner Date: Thu, 28 Jul 1994 12:07:05 +0000 (-0400) Subject: (finish_struct): Don't look at alignment of error_mark_node. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34322499be6da88485be6a9add6a905cec965023;p=gcc.git (finish_struct): Don't look at alignment of error_mark_node. From-SVN: r7804 --- diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 3c0dea04bad..40c43f88492 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -5418,7 +5418,7 @@ finish_struct (t, fieldlist) #endif } } - else + else if (TREE_TYPE (x) != error_mark_node) { int min_align = (DECL_PACKED (x) ? BITS_PER_UNIT : TYPE_ALIGN (TREE_TYPE (x)));