OSDN Git Service

PR c/7741
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Feb 2003 12:45:54 +0000 (12:45 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Feb 2003 12:45:54 +0000 (12:45 +0000)
commit5389807a89faca48024325cadbd103f3dae1efaf
tree8a1d28c03b69fb9ba8205eed11d31cdecbf9221d
parente9d7220ba189fde24bd9565a2bcbdfd69254a726
PR c/7741
* c-decl.c (duplicate_decls): Discard the initializer of the
new decl when the types are conflicting.

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