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) {
Re: can't bootstrap current trunk: internal compiler error: in simplify_subreg,@simplify-rtx.c:4679
On Thu, 9 Aug 2007, Andreas Krebbel wrote: 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- I have the same bootstrap error on sparc-sun-solaris2.10. Your patch does not fix it for me. It moves the error to another line: .../libgcc/../gcc/libgcc2.c: In function '__fixunssfdi': .../libgcc/../gcc/libgcc2.c:1348: internal compiler error: in simplify_subreg, at simplify-rtx.c:4674 Try: cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -mcpu=v9 -auxbase-strip _fixunssfdi.o -g -g -g -O2 -O2 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fkeep-inline-functions -fPIC -o libgcc2.s Thanks, --Kaveh -- Kaveh R. Ghazi [EMAIL PROTECTED] libgcc2.i.gz Description: libgcc2.i.gz