PATCH for bootstrap fail on CVS/PPC

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Mon Mar 30 23:39:00 GMT 1998


Hi,

the changes to DONE and FAIL generate 2 "parse error before else" in
insn-emit.c on Linux/PPC. Patch attached.
Jeff, could you please also check in my last patch (glibc-1.99 support) and
the corresponding one from H.J.Lu (to stl_config.h) into the current
sources? They only made it in for 1.0.2 yet.

Bye,
Franz.


Mon Mar 30 10:35:00 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
	* rs6000/rs6000.md: fix compilation failure with new DONE/FAIL macros

Index: rs6000.md
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/rs6000/rs6000.md,v
retrieving revision 1.11
diff -u -r1.11 rs6000.md
--- rs6000.md   1998/03/25 13:17:37     1.11
+++ rs6000.md   1998/03/30 08:39:24
@@ -1451,7 +1451,9 @@
        }
     }
   else if (TARGET_POWER)
-    FAIL;
+    {
+      FAIL;
+    }
   else
     {
       emit_move_insn (gen_rtx (REG, SImode, 3), operands[1]);
@@ -6604,9 +6606,13 @@
   "
 {
   if (expand_block_move (operands))
-    DONE;
+    {
+      DONE;
+    }
   else
-    FAIL;
+    {
+      FAIL;
+    }
 }")
 
 ;; Move up to 32 bytes at a time.  The fixed registers are needed because the


More information about the Gcc-bugs mailing list