summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 877754d81ec..1e877de6dd3 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -3154,7 +3154,7 @@ finish_decl (decl, init, asmspec_tree)
:
/* An automatic variable with an incomplete type
is an error. */
- !TREE_EXTERNAL (decl)))
+ !DECL_EXTERNAL (decl)))
{
error_with_decl (decl, "storage size of `%s' isn't known");
TREE_TYPE (decl) = error_mark_node;