Zack Weinberg <zack@codesourcery.com
authorZack Weinberg <zack@gcc.gnu.org>
Sun, 25 Jul 2004 03:58:50 +0000 (03:58 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Sun, 25 Jul 2004 03:58:50 +0000 (03:58 +0000)
commitc5e36c09e5df095a140f98e064d14759a09e1108
treee08d5c38fdbe7459662ce1f4849c678ef281f3ec
parent9d55a9660d0e067d4265d3b82af7f25fbb8d018e
Zack Weinberg <zack@codesourcery.com

2004-07-24  Alexander Kabaev  <kan@freebsd.org>
    Zack Weinberg  <zack@codesourcery.com

PR 16684
* c-decl.c (diagnose_mismatched_decls): Don't issue a
redundant-declaration warning the first time a builtin is
declared explicitly.
testsuite:
* gcc.dg/Wredundant-decls-1.c: New test case.

From-SVN: r85140
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wredundant-decls-1.c [new file with mode: 0644]