This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Undef TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P in mips.c
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 10 May 2010 20:23:07 +0200
- Subject: Undef TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P in mips.c
This patch
2010-05-05 Andrew Pinski <andrew.pinski@caviumnetworks.com>
* config/mips/mips.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P):
Delete.
* config/mips/mips.c (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P):
New define.
* config/mips/mips-protos.h
(mips_small_register_classes_for_mode_p): Delete prototype.
broke IRIX 6.5 bootstrap on mainline:
/vol/gcc/src/hg/trunk/local/gcc/config/mips/mips.c:16272:0: error: "TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P" redefined [-Werror]
/vol/gcc/src/hg/trunk/local/gcc/target-def.h:543:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
make[3]: *** [mips.o] Error 1
I've installed the obvious fix.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/mips/mips.c (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): Undef.
diff -r e39d3583c69a gcc/config/mips/mips.c
--- a/gcc/config/mips/mips.c Fri May 07 19:21:28 2010 +0200
+++ b/gcc/config/mips/mips.c Mon May 10 20:15:47 2010 +0200
@@ -16269,6 +16269,7 @@
#undef TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD
#define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD \
mips_multipass_dfa_lookahead
+#undef TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P
#define TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P \
mips_small_register_classes_for_mode_p