This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Patch for gcc/print-rtl.c
- To: egcs at cygnus dot com
- Subject: Patch for gcc/print-rtl.c
- From: Swen Thuemmler <swen at uni-paderborn dot de>
- Date: Tue, 7 Jul 1998 11:45:14 +0200 (MET DST)
Hi,
in order to be able to compile the latest egcs from CVS on
sparc-sun-solaris2.5.1, I had to apply the patch below (there may be a
better fix, but since I do not know enough of gcc, I could not come up
with a better one).
Greetings, Swen
Index: gcc/print-rtl.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/print-rtl.c,v
retrieving revision 1.10
diff -u -r1.10 print-rtl.c
--- print-rtl.c 1998/07/06 22:40:00 1.10
+++ print-rtl.c 1998/07/07 09:39:11
@@ -269,7 +269,7 @@
abort ();
}
-#if HOST_FLOAT_FORMAT == TARGET_FLOAT_FORMAT
+#if (HOST_FLOAT_FORMAT == TARGET_FLOAT_FORMAT) && !defined(REAL_ARITHMETIC)
if (GET_CODE (in_rtx) == CONST_DOUBLE && FLOAT_MODE_P (GET_MODE (in_rtx)))
{
double val;