diff mbox

Fix compile with old host GCC

Message ID alpine.LSU.2.11.1412011635380.5894@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener Dec. 1, 2014, 3:39 p.m. UTC
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.
diff mbox

Patch

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