public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* can't bootstrap current trunk: internal compiler error: in simplify_subreg, at simplify-rtx.c:4679
@ 2007-08-09  9:19 Christian Joensson
  2007-08-09 13:20 ` can't bootstrap current trunk: internal compiler error: in simplify_subreg,@simplify-rtx.c:4679 Andreas Krebbel
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Joensson @ 2007-08-09  9:19 UTC (permalink / raw)
  To: GCC Development

Aurora SPARC Linux release 2.99 (Angel)/TI UltraSparc IIi (Sabre) sun4u:

binutils-2.17.50.0.3-6.sparc.sparc
bison-2.3-2.1.sparc
dejagnu-1.4.4-5.1.noarch
expect-5.43.0-5.1.sparc
gcc-4.1.1-30.1.sparc
glibc-2.5-3.1.sparcv9
glibc-2.5-3.1.sparc64
glibc-devel-2.5-3.1.sparc
glibc-devel-2.5-3.1.sparc64
glibc-headers-2.5-3.1.sparc
gmp-2.4.1                               (local build from gcc's infrastructure)
mpfr-2.2.1                              (local build from gcc's infrastructure)
kernel-2.6.21-1.3149.al3.12.sparc64
libgcc-4.1.1-30.1.sparc
libgcc-4.1.1-30.1.sparc64
libstdc++-4.1.1-30.1.sparc
libstdc++-4.1.1-30.1.sparc64
libstdc++-devel-4.1.1-30.1.sparc
libstdc++-devel-4.1.1-30.1.sparc64
make-3.81-1.1.sparc
tcl-8.4.13-3.al3.sparc

LAST_UPDATED: Thu Aug  9 08:25:16 UTC 2007 (revision 127312)

configure: --enable-__cxa_atexit --enable-shared --with-cpu=v7
--enable-languages=c,c++,fortran,java,objc,obj-c++,treelang
--with-gmp=/usr/local/gmp-mpfr --with-mpfr=/usr/local/gmp-mpfr
--with-long-double-128

/usr/local/src/trunk/objdir/./gcc/xgcc
-B/usr/local/src/trunk/objdir/./gcc/
-B/usr/local/sparc64-unknown-linux-gnu/bin/
-B/usr/local/sparc64-unknown-linux-gnu/lib/ -isystem
/usr/local/sparc64-unknown-linux-gnu/include -isystem
/usr/local/sparc64-unknown-linux-gnu/sys-include -g
-fkeep-inline-functions -O2  -O2 -g -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I.
-I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include
-DHAVE_CC_TLS -o _fixunssfdi.o -MT _fixunssfdi.o -MD -MP -MF
_fixunssfdi.dep -DL_fixunssfdi -c ../../../gcc/libgcc/../gcc/libgcc2.c
\
	  -fvisibility=hidden -DHIDE_EXPORTS
../../../gcc/libgcc/../gcc/libgcc2.c: In function '__fixunssfdi':
../../../gcc/libgcc/../gcc/libgcc2.c:1348: internal compiler error: in
simplify_subreg, at simplify-rtx.c:4679

Any ideas? Do you want me to post more info?

-- 
Cheers,

/ChJ

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can't bootstrap current trunk: internal compiler error: in simplify_subreg,@simplify-rtx.c:4679
  2007-08-09  9:19 can't bootstrap current trunk: internal compiler error: in simplify_subreg, at simplify-rtx.c:4679 Christian Joensson
@ 2007-08-09 13:20 ` Andreas Krebbel
  2007-08-10  3:27   ` Kaveh R. GHAZI
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Krebbel @ 2007-08-09 13:20 UTC (permalink / raw)
  To: Christian Joensson; +Cc: gcc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can't bootstrap current trunk: internal compiler error: in  simplify_subreg,@simplify-rtx.c:4679
  2007-08-09 13:20 ` can't bootstrap current trunk: internal compiler error: in simplify_subreg,@simplify-rtx.c:4679 Andreas Krebbel
@ 2007-08-10  3:27   ` Kaveh R. GHAZI
  0 siblings, 0 replies; 3+ messages in thread
From: Kaveh R. GHAZI @ 2007-08-10  3:27 UTC (permalink / raw)
  To: Andreas Krebbel; +Cc: Christian Joensson, gcc

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1101 bytes --]

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			ghazi@caip.rutgers.edu

[-- Attachment #2: libgcc2.i.gz --]
[-- Type: APPLICATION/octet-stream, Size: 14117 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-10  3:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-09  9:19 can't bootstrap current trunk: internal compiler error: in simplify_subreg, at simplify-rtx.c:4679 Christian Joensson
2007-08-09 13:20 ` can't bootstrap current trunk: internal compiler error: in simplify_subreg,@simplify-rtx.c:4679 Andreas Krebbel
2007-08-10  3:27   ` Kaveh R. GHAZI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).