Index: gcc/config/mips/mips.h
===================================================================
--- gcc/config/mips/mips.h	(revision 164932)
+++ gcc/config/mips/mips.h	(working copy)
@@ -26,6 +26,12 @@
 
 #include "config/vxworks-dummy.h"
 
+#ifdef GENERATOR_FILE
+/* This is used in some insn conditions, so needs to be declared, but
+   does not need to be defined.  */
+extern int target_flags_explicit;
+#endif
+
 /* MIPS external variables defined in mips.c.  */
 
 /* Which ABI to use.  ABI_32 (original 32, or o32), ABI_N32 (n32),
