Commit be0f1cf2 by Jim Wilson

(pushdecl): Don't test DECL_EXTERNAL when deciding whether

to register a duplicate decl in the current block.

From-SVN: r9465
parent d8b679b9
......@@ -1947,8 +1947,7 @@ pushdecl (x)
/* If this is a global decl, and there exists a conflicting local
decl in a parent block, then we can't return as yet, because we
need to register this decl in the current binding block. */
if (! DECL_EXTERNAL (x) || ! TREE_PUBLIC (x)
|| lookup_name (name) == t)
if (! TREE_PUBLIC (x) || lookup_name (name) == t)
return t;
}
......
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