aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2008-06-29 05:36:20 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2008-06-29 05:36:20 +0000
commit572e5ae36a6e358c96e98638c4c361510bec90ac (patch)
tree4087c41736bddb46c32817dfe3abeba27c59d14b /gcc/cp
parent4dc6c528c2b8e858ae65d91a82c6fae661894302 (diff)
downloadgcc-572e5ae36a6e358c96e98638c4c361510bec90ac.zip
gcc-572e5ae36a6e358c96e98638c4c361510bec90ac.tar.gz
gcc-572e5ae36a6e358c96e98638c4c361510bec90ac.tar.bz2
optabs.c (libfunc_decl_hash, [...]): Fix -Wcast-qual warnings.
* optabs.c (libfunc_decl_hash, libfunc_decl_eq): Fix -Wcast-qual warnings. * Makefile.in (CXX_COMPAT_WARN, cxx_compat_warn): Delete. (bitmap.o-warn, dominance.o-warn): New. * configure.ac (cxx_compat_warn): Delete. (loose_warn): Add -Wcast-qual and -Wc++-compat. * system.h: Remove #pragma diagnostic for -Wcast-qual and -Wc++-compat. * configure: Regenerate. cp: * Make-lang.in (cp-warn): Delete $(CXX_COMPAT_WARN). java: * Make-lang.in (java/jcf-io.o-warn): New. From-SVN: r137246
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/Make-lang.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 14d08ac..5011770 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Make-lang.in (cp-warn): Delete $(CXX_COMPAT_WARN).
+
2008-06-28 Jakub Jelinek <jakub@redhat.com>
PR c++/36364
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index 3831bb9..6fced35 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -89,7 +89,7 @@ CXX_OBJS = cp/cp-lang.o stub-objc.o $(CXX_AND_OBJCXX_OBJS)
c++_OBJS = $(CXX_OBJS) dummy-checksum.o cc1plus-checksum.o cp/g++spec.o
# Use strict warnings for this front end.
-cp-warn = $(STRICT_WARN) $(CXX_COMPAT_WARN)
+cp-warn = $(STRICT_WARN)
cc1plus-dummy$(exeext): $(CXX_OBJS) dummy-checksum.o $(BACKEND) $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \