[PATCH] Fix compile with old host GCC

Richard Biener rguenther@suse.de
Mon Dec 1 15:46:00 GMT 2014


Committed after entering stage3 in a bootstrap.

Richard.

2014-12-01  Richard Biener  <rguenther@suse.de>

	* Makefile.in (gimple-match.o-warn): Use -Wno-unused instead of
	-Wno-unused-variable and -Wno-unused-but-set-variable to restore
	bootstrap with old GCC.
	(generic-match.o-warn): Likewise.

Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in	(revision 218219)
+++ gcc/Makefile.in	(working copy)
@@ -209,8 +209,8 @@ gengtype-lex.o-warn = -Wno-error
 libgcov-util.o-warn = -Wno-error
 libgcov-driver-tool.o-warn = -Wno-error
 libgcov-merge-tool.o-warn = -Wno-error
-gimple-match.o-warn = -Wno-unused-variable -Wno-unused-but-set-variable
-generic-match.o-warn = -Wno-unused-variable -Wno-unused-but-set-variable
+gimple-match.o-warn = -Wno-unused
+generic-match.o-warn = -Wno-unused
 
 # All warnings have to be shut off in stage1 if the compiler used then
 # isn't gcc; configure determines that.  WARN_CFLAGS will be either



More information about the Gcc-patches mailing list