This is the mail archive of the gcc-bugs@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]

[CVS 980317]:


The recent changes to the reload stuff caused an undefined external
SECONDARY_OUTPUT_RELOAD_CLASS on m88k-motorola-sysv3.

Tue Mar 17 15:50:58 1998  Manfred Hollstein  <manfred@s-direktnet.de>

	* regclass.c (memory_move_secondary_cost): Properly put #ifdef
	around use of SECONDARY_OUTPUT_RELOAD_CLASS.

diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-980317.orig/gcc/regclass.c egcs-980317/gcc/regclass.c
--- egcs-980317.orig/gcc/regclass.c	Tue Mar 17 10:18:30 1998
+++ egcs-980317/gcc/regclass.c	Tue Mar 17 15:48:58 1998
@@ -446,7 +446,11 @@ memory_move_secondary_cost (mode, class,
   if (in)
     altclass = SECONDARY_INPUT_RELOAD_CLASS (class, mode, mem);
   else
+#ifdef SECONDARY_OUTPUT_RELOAD_CLASS
     altclass = SECONDARY_OUTPUT_RELOAD_CLASS (class, mode, mem);
+#else
+    altclass = NO_REGS;
+#endif
   if (altclass == NO_REGS)
     return 0;
 


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