can't bootstrap current trunk: internal compiler error: in simplify_subreg,@simplify-rtx.c:4679

Andreas Krebbel Andreas.Krebbel@de.ibm.com
Thu Aug 9 13:20:00 GMT 2007


Hello,

the bootstrap failure you are seeing is caused by my decompose
multiword shift patch:
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00419.html

It is the same failure as reported by Andreas Tobler:
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00533.html

I don't have access to a sparc machine. Could you please test the
following patch?

The patch at least seems to fix it on a cross gcc.

Bye,

-Andreas-

Index: gcc/lower-subreg.c
===================================================================
--- gcc/lower-subreg.c	(revision 127312)
+++ gcc/lower-subreg.c	(working copy)
@@ -1071,7 +1071,7 @@
                                            GET_MODE (SET_DEST (set)),
                                            offset2);
   src_reg = simplify_gen_subreg_concatn (word_mode, op_operand,
-                                         GET_MODE (op_operand),
+                                         GET_MODE (SET_DEST (set)),
                                          src_offset);
   if (GET_CODE (op) != ZERO_EXTEND)
     {



More information about the Gcc mailing list