[Bug bootstrap/12173] IRIX 6 O32 (with as) bootstrap failure due to gcc -g -E warning

neil at daikokuya dot co dot uk gcc-bugzilla@gcc.gnu.org
Fri Sep 12 05:26:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12173



------- Additional Comments From neil at daikokuya dot co dot uk  2003-09-12 05:26 -------
Subject: Re:  IRIX 6 O32 (with as) bootstrap failure due to gcc -g -E warning

ro at techfak dot uni-bielefeld dot de wrote:-

> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12173
> 
> 
> 
> ------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2003-09-11 21:46 -------
> Subject: Re:  IRIX 6 O32 (with as) bootstrap failure due to gcc -g -E warning
> 
> Alexandre,
> 
> I just found out that this patch of yours
> 
> 	http://gcc.gnu.org/ml/gcc-patches/2003-08/msg00360.html
> 
> introduced this bug by passing -g options to cc1 vi cpp_options.  This
> breaks bootstrap on mips-sgi-irix6.5o32 and mips-sgi-irix5.3 (i.e. any
> platform where -g isn't supported).  While the warning issued is fine for
> compilation, preprocessor output is identical whether or not -g is given,
> so there should be now warning.
> 
> Any idea for a proper fix?

I think the -E should be independent of -g, and should not be in
cpp_options.  I was reluctant to accept this at the time Alexandre
did it.

Neil.



More information about the Gcc-bugs mailing list