aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2009-06-22 16:49:03 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2009-06-22 16:49:03 +0000
commit7a5d2eb861a39a2422fb25e4e106941a5aba79d8 (patch)
treeb04b7d452e4afa1ea57eb1317a2bd224cb2ab8f4 /gcc/config
parent86e3c83a1cc35d293f60ebd6128993b754a9e7ad (diff)
downloadgcc-7a5d2eb861a39a2422fb25e4e106941a5aba79d8.zip
gcc-7a5d2eb861a39a2422fb25e4e106941a5aba79d8.tar.gz
gcc-7a5d2eb861a39a2422fb25e4e106941a5aba79d8.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/linux.opt12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/linux.opt b/gcc/config/linux.opt
index fe8c075..a9b40f0 100644
--- a/gcc/config/linux.opt
+++ b/gcc/config/linux.opt
@@ -1,6 +1,6 @@
; Processor-independent options for GNU/Linux.
;
-; Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+; Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc.
; Contributed by CodeSourcery.
;
; This file is part of GCC.
@@ -19,10 +19,10 @@
; along with GCC; see the file COPYING3. If not see
; <http://www.gnu.org/licenses/>.
-muclibc
-Target RejectNegative Report Mask(UCLIBC) Var(linux_uclibc) Init(UCLIBC_DEFAULT ? OPTION_MASK_UCLIBC : 0)
-Use uClibc instead of GNU libc
-
mglibc
-Target RejectNegative Report InverseMask(UCLIBC, GLIBC) Var(linux_uclibc) VarExists
+Target RejectNegative Report InverseMask(UCLIBC, GLIBC) Var(linux_uclibc) Init(UCLIBC_DEFAULT ? OPTION_MASK_UCLIBC : 0)
Use GNU libc instead of uClibc
+
+muclibc
+Target RejectNegative Report Mask(UCLIBC) Var(linux_uclibc) VarExists
+Use uClibc instead of GNU libc