linux.opt: Put mglibc ahead of muclibc.
commit7a5d2eb861a39a2422fb25e4e106941a5aba79d8
authorIan Lance Taylor <iant@google.com>
Mon, 22 Jun 2009 16:49:03 +0000 (22 16:49 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 22 Jun 2009 16:49:03 +0000 (22 16:49 +0000)
treeb04b7d452e4afa1ea57eb1317a2bd224cb2ab8f4
parent86e3c83a1cc35d293f60ebd6128993b754a9e7ad
linux.opt: Put mglibc ahead of muclibc.

./: * config/linux.opt: Put mglibc ahead of muclibc.

* c-decl.c (diagnose_mismatched_decls): Add -Wc++-compat warning
for duplicate decls.
testsuite/:
* gcc.dg/Wcxx-compat-19.c: New testcase.

From-SVN: r148808
gcc/ChangeLog
gcc/c-decl.c
gcc/config/linux.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wcxx-compat-19.c [new file with mode: 0644]