This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] remove more -wno-error hacks


Bootstrapped on i686-linux.


r~


cp/
        * Make-lang.in (tree.o, typeck.o): Remove -Wno-error.
java/
        * Make-lang.in (parse.o): Remove -Wno-error.

Index: gcc/cp/Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/Make-lang.in,v
retrieving revision 1.115.2.35
diff -c -p -d -r1.115.2.35 Make-lang.in
*** gcc/cp/Make-lang.in	25 Nov 2003 02:10:43 -0000	1.115.2.35
--- gcc/cp/Make-lang.in	25 Nov 2003 05:20:21 -0000
*************** CXX_OBJS = cp/call.o cp/decl.o cp/expr.o
*** 92,103 ****
  
  # Use strict warnings for this front end.
  cp-warn = $(STRICT_WARN) $(WERROR)
- # These files need -Wno-error because the gimplifier triggers hard to fix
- # warnings when converting to GIMPLE form.  The warnings are triggered when
- # the gimplifier re-writes va_start with a temporary instead of using the
- # last named argument of the function.
- cp/tree.o-warn = -Wno-error
- cp/typeck.o-warn = -Wno-error
  
  cc1plus$(exeext): $(CXX_OBJS) $(CXX_C_OBJS) $(BACKEND) \
  		  libcpp.a $(LIBDEPS)
--- 92,97 ----
Index: gcc/java/Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Make-lang.in,v
retrieving revision 1.88.2.21
diff -c -p -d -r1.88.2.21 Make-lang.in
*** gcc/java/Make-lang.in	25 Nov 2003 02:11:03 -0000	1.88.2.21
--- gcc/java/Make-lang.in	25 Nov 2003 05:20:21 -0000
*************** JVGENMAIN_OBJS = java/jvgenmain.o java/m
*** 125,131 ****
  java-warn = $(WERROR)
  # String length warnings
  jvspec.o-warn = -Wno-error
- java/parse.o-warn = -Wno-error
  
  jc1$(exeext): $(JAVA_OBJS) $(BACKEND) $(LIBDEPS)
  	rm -f $@
--- 125,130 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]