PR 13728
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Mar 2004 05:49:06 +0000 (05:49 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Mar 2004 05:49:06 +0000 (05:49 +0000)
commit93d302144297d18f61298c3e92ab72436fc82322
tree53b0c86b0cf1541d9e8b95a2eb630d9d8c0f69fe
parentd54c3c084c07f9ceb5c8ff022c49b155fb4afa88
PR 13728
* c-decl.c (diagnose_mismatched_decls): Issue an error for two
parameters with the same name, unless one is a forward decl.
Do not issue a redundant-redeclaration warning for forward
decls of parameters.
* gcc.dg/decl-4.c: New testcase.

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