Commit 492c86a4 by Richard Kenner

(staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR.

From-SVN: r5586
parent a14ae508
......@@ -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;
......
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