projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8b679b
)
(pushdecl): Don't test DECL_EXTERNAL when deciding whether
author
Jim Wilson
<wilson@gcc.gnu.org>
Tue, 25 Apr 1995 23:11:10 +0000
(16:11 -0700)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Tue, 25 Apr 1995 23:11:10 +0000
(16:11 -0700)
to register a duplicate decl in the current block.
From-SVN: r9465
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index
1e3a241
..
97b4adf
100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-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;
}