This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[CVS 980317]:
- To: egcs-bugs at cygnus dot com
- Subject: [CVS 980317]:
- From: Manfred Hollstein <manfred at s-direktnet dot de>
- Date: Tue, 17 Mar 1998 16:02:52 +0100 (MET)
- Cc: Manfred dot Hollstein at ks dot sel dot alcatel dot de
- Reply-To: Manfred Hollstein <manfred at s-direktnet dot de>
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;