This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
New linux cross mingw32 build ICE
- From: Anthony Green <green at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Cc: dj at redhat dot com
- Date: 05 Sep 2003 18:03:35 -0700
- Subject: New linux cross mingw32 build ICE
- Organization: Red Hat, Inc.
Linux cross mingw32 builds are failing right like so:
/opt/spindazzle/gnutools/build-X-mingw32/gcc/gcj -B/opt/spindazzle/gnutools/build-X-mingw32/mingw32/libjava/ -B/opt/spindazzle/gnutools/build-X-mingw32/gcc/ --encoding=UTF-8 -Wno-deprecated -fclasspath= -fbootclasspath=/opt/spindazzle/gnutools/build-X-mingw32/mingw32/libjava -ffloat-store -g -O2 -MD -MT java/io/ObjectInputStream.lo -MF java/io/ObjectInputStream.d -c ../../../src/HEAD-2003-09-05/libjava/java/io/ObjectInputStream.java -o java/io/ObjectInputStream.o
../../../src/HEAD-2003-09-05/libjava/java/io/ObjectInputStream.java: In class `java.io.ObjectInputStream':
../../../src/HEAD-2003-09-05/libjava/java/io/ObjectInputStream.java: In method `java.io.ObjectInputStream.readObject()':
../../../src/HEAD-2003-09-05/libjava/java/io/ObjectInputStream.java:203: internal compiler error: in expand_call, at calls.c:3059
I believe the problem was introduced in the last day or two.
This is the test in calls.c that is failing:
/* Stack must be properly aligned now. */
if (pass && stack_pointer_delta % preferred_unit_stack_boundary)
abort ();
In the failing case, stack_pointer_delta is 8 and preferred_unit_stack_boundary is 128.
Java's -fcheck-references flag is the key to triggering the failure.
Just stick the following in GCC's .gdbinit to reproduce the problem (after adjusting paths)...
set args -fclasspath= -fbootclasspath=/opt/spindazzle/gnutools/build-X-mingw32/mingw32/libjava -ffloat-store -g -O2 /opt/spindazzle/gnutools/src/HEAD-2003-09-05/libjava/java/io/ObjectInputStream.java -fcheck-references
AG
--
Anthony Green <green@redhat.com>
Red Hat, Inc.