3.4 PATCH: Fix IRIX 6 bootstrap failure

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Thu Jul 3 13:27:00 GMT 2003


Neil,

your patch

	http://gcc.gnu.org/ml/gcc-patches/2003-07/msg00242.html

broke bootstrap on mips-sgi-irix6.5o32 with the native cc:

cfe: Error: /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c, line 176: types have different qualifier specifications
 static const char **save_argv;
 --------------------^
cfe: Warning 653: /vol/gnu/src/gcc/gcc-dist/gcc/toplev.c, line 176: (previous declaration of 'save_argv' at line 31 in file '/vol/gnu/src/gcc/gcc-dist/gcc/config/mips/mips.h')
 static const char **save_argv;
 --------------------^

The declaration in mips.h is completely unused, so I've removed it.

Committed as obvious.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University


Thu Jul  3 15:14:13 2003  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* config/mips/mips.h (save_argv): Remove, unused.

Index: config/mips/mips.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.h,v
retrieving revision 1.270
diff -u -p -r1.270 mips.h
--- config/mips/mips.h	2 Jul 2003 00:21:56 -0000	1.270
+++ config/mips/mips.h	3 Jul 2003 13:19:44 -0000
@@ -28,7 +28,6 @@ Boston, MA 02111-1307, USA.  */
 
 extern char	call_used_regs[];
 extern int	may_call_alloca;
-extern char   **save_argv;
 extern int	target_flags;
 
 /* MIPS external variables defined in mips.c.  */



More information about the Gcc-patches mailing list