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]

Re: PCH, rs6000 warning removal


 > This patch squishes a bunch of warnings, allowing us to switch on
 > -Werror for a few more files.
 > 
 > Bootstrapped (and test running) on powerpc-darwin.
 > 
 > - Geoffrey Keating <geoffk@apple.com>
 > 
 > 2003-01-30  Geoffrey Keating  <geoffk@apple.com>
 > 
 > 	    * gengtype.c (struct walk_type_data): Add needs_cast_p.
 > 	    (walk_type): Set needs_cast_p in walk_type_data.
 > 	    (write_types_process_field): Supply casts when required to
 > 	    suppress
 > 	    warnings.
 > 	    (write_root): Cast gt_pch_n_S to suppress warning.
 > 	    * Makefile.in: Remove -Wno-error from gtype-desc.o and
 > 	    c-decl.o.
 > 	    * cp/Make-lang.in: Remove -Wno-error from cp/decl.o.
 > 	    * config/rs6000/rs6000.c (print_operand): Mask off high
 > 	    bits only
 > 	    when they might exist.
 > 	    * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o,
 > 	    insn-conditions.o, and rs6000.o.

Thanks.  This also fixes the irix6 bootstrap problem when using cc for
stage1 reported here:
http://gcc.gnu.org/ml/gcc-bugs/2003-01/msg00655.html

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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