This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PCH, rs6000 warning removal
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gkeating at apple dot com
- Cc: David dot Billinghurst at riotinto dot com, gcc-patches at gcc dot gnu dot org
- Date: Fri, 31 Jan 2003 01:11:21 -0500 (EST)
- Subject: Re: PCH, rs6000 warning removal
- References: <200301310141.h0V1fd82001023@keatge.apple.com>
> 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