diff options
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 156e567..8bc7908 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -4524,15 +4524,14 @@ gimplify_type_sizes (tree type, tree *list_p) { tree field, t; - if (type == NULL) + if (type == NULL || type == error_mark_node) return; /* We first do the main variant, then copy into any other variants. */ type = TYPE_MAIN_VARIANT (type); /* Avoid infinite recursion. */ - if (TYPE_SIZES_GIMPLIFIED (type) - || type == error_mark_node) + if (TYPE_SIZES_GIMPLIFIED (type)) return; TYPE_SIZES_GIMPLIFIED (type) = 1; |