This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]