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

ro at techfak dot uni-bielefeld dot de gcc-bugzilla@gcc.gnu.org
Thu Sep 25 18:43: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 ro at techfak dot uni-bielefeld dot de  2003-09-25 17:38 -------
Subject: Re:  IRIX 6 O32 (with as) bootstrap failure due to gcc -g -E warning

Alexandre,

any progress on a patch for this problem?  As is, this currently breaks
bootstrap on IRIX 5 and will block integration of my IRIX 6 O32 patches
since that configuration doesn't bootstrap while this bug is unfixed.
Alternatively, one could apply the following stop-gap patch until you've
provided a real fix

	Rainer


Fri Sep 12 00:12:52 2003  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* gcc.c (cpp_options): Don't pass -g*.

Index: gcc/gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.393
diff -u -p -r1.393 gcc.c
--- gcc/gcc.c	4 Sep 2003 06:30:02 -0000	1.393
+++ gcc/gcc.c	23 Sep 2003 21:40:34 -0000
@@ -755,7 +755,7 @@ static const char *cpp_unique_options =
    in turn cause preprocessor symbols to be defined specially.  */
 static const char *cpp_options =
 "%(cpp_unique_options) %1 %{m*} %{std*} %{ansi} %{W*&pedantic*} %{w} %{f*}\
- %{g*} %{O*} %{undef}";
+ %{O*} %{undef}";
 
 /* This contains cpp options which are not passed when the preprocessor
    output will be used by another program.  */



More information about the Gcc-bugs mailing list