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

Patch for gcc/print-rtl.c



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;




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