OSDN Git Service

* c-decl.c (pushdecl): When an extern declaration at block scope
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 2004 19:54:26 +0000 (19:54 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 2004 19:54:26 +0000 (19:54 +0000)
commit2d7a881f4ed589a3a7dd08f6dde445383700e383
treefd7f6fee9d8f05210df58bc5a67a9559ca8f660e
parent01451cf5ca67e4a515e5f043f5a45b8b1e9da4f5
* c-decl.c (pushdecl): When an extern declaration at block scope
refers to a visible entity with internal linkage, use the old DECL
rather than the new one.

testsuite:
* gcc.c-torture/compile/20041005-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88570 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20041005-1.c [new file with mode: 0644]