From 492c86a4c51bf371b33ea20b30a0e719dae6dbf0 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 3 Oct 1993 21:51:27 -0400 Subject: [PATCH] (staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR. From-SVN: r5586 --- gcc/tree.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/tree.c b/gcc/tree.c index 4f190f52498..859f92d7de3 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -1799,9 +1799,11 @@ staticp (arg) { case VAR_DECL: case FUNCTION_DECL: - case CONSTRUCTOR: return TREE_STATIC (arg) || DECL_EXTERNAL (arg); + case CONSTRUCTOR: + return TREE_STATIC (arg); + case STRING_CST: return 1; -- 2.30.2