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]
Other format: [Raw text]

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


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)
     {


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