[Bug java/12689] New: gimplification failed during mingw32 libgcj cross build.
green at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Oct 20 15:00:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12689
Summary: gimplification failed during mingw32 libgcj cross build.
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-mingw32
I discovered this when compiling a mingw32 cross toolchain on Linux. A native
bootstrap works from the same sources, so this really has something to do with
the mingw32 configuration.
I used the following configure options on the uberbaum sources, overlayed with
the tree-ssa version of the compiler:
--host=i686-pc-linux-gnulibc2.3 --build=i686-pc-linux-gnulibc2.3
--target=i686-pc-mingw32 --enable-libgcj --disable-werror
--enable-languages=c,c++,java,objc,f77 --enable-threads=win32 --with-gcc
--with-gnu-as --with-gnu-ld --without-newlib --disable-win32-registry
--disable-shared --disable-java-awt --without-x --enable-java-gc=boehm
--disable-libgcj-debug --enable-interpreter --enable-hash-synchronization
$ /opt/spindazzle/gnutools/build-X-mingw32/gcc/gcj --version
gcj (GCC) 3.5-tree-ssa 20031019 (merged 20031017)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
And here's the failure....
/opt/spindazzle/gnutools/build-X-mingw32/gcc/gcj
-B/opt/spindazzle/gnutools/build-X-mingw32/i686-pc-mingw32/libjava/
-B/opt/spindazzle/gnutools/build-X-mingw32/gcc/ --encoding=UTF-8 -Wno-deprecated
-fclasspath=
-fbootclasspath=/opt/spindazzle/gnutools/build-X-mingw32/i686-pc-mingw32/libjava
-ffloat-store -g -O2 -MD -MT java/lang/Runtime.lo -MF java/lang/Runtime.d -c
../../../src/HEAD-2003-10-19/libjava/java/lang/Runtime.java -o java/lang/Runtime.o
gimplification failed:
if (cmd.290 == 0B)
{
_Jv_ThrowNullPointerException ()
}
else
{
iftmp.289 = cmd.290
} <cond_expr 0xbf488aa0
type <void_type 0xbf5dbcb0 void VOID
align 1 symtab 10 alias set 29
pointer_to_this <pointer_type 0xbf5dbd98> chain <type_decl 0xbf5dbd24 void>>
side-effects
arg 0 <eq_expr 0xbf48a340
type <boolean_type 0xbf5e0000 boolean unsigned QI
size <integer_cst 0xbf5d96a8 constant invariant 8>
unit size <integer_cst 0xbf5d94e0 constant invariant 1>
align 8 symtab 36 alias set 28 precision 1 min <integer_cst
0xbf5d9768 0> max <integer_cst 0xbf5d9780 1>
chain <type_decl 0xbf5e0074 boolean>>
invariant
arg 0 <var_decl 0xbf2730e8 cmd.290 type <pointer_type 0xbf52d658>
unsigned used ignored SI file
../../../src/HEAD-2003-10-19/libjava/java/lang/Runtime.java line 470
size <integer_cst 0xbf5d94f8 constant invariant 32>
unit size <integer_cst 0xbf5d9558 constant invariant 4>
align 32 context <function_decl 0xbf55a488 exec> chain <var_decl
0xbf273074 iftmp.289>>
arg 1 <integer_cst 0xbf5d96f0 constant invariant 0>>
arg 1 <call_expr 0xbf48a320 type <void_type 0xbf5dbcb0 void>
side-effects
arg 0 <addr_expr 0xbf48a300 type <pointer_type 0xbf4cd074>
side-effects constant invariant arg 0 <function_decl 0xbf5c2d24
_Jv_ThrowNullPointerException>>
../../../src/HEAD-2003-10-19/libjava/java/lang/Runtime.java:470>
arg 2 <modify_expr 0xbf269e00 type <void_type 0xbf5dbcb0 void>
side-effects
arg 0 <var_decl 0xbf273074 iftmp.289 type <pointer_type 0xbf52d658>
unsigned used ignored SI file
../../../src/HEAD-2003-10-19/libjava/java/lang/Runtime.java line 470 size
<integer_cst 0xbf5d94f8 32> unit size <integer_cst 0xbf5d9558 4>
align 32 context <function_decl 0xbf55a488 exec> chain <var_decl
0xbf273000 T.288>> arg 1 <var_decl 0xbf2730e8 cmd.290>
../../../src/HEAD-2003-10-19/libjava/java/lang/Runtime.java:470>
../../../src/HEAD-2003-10-19/libjava/java/lang/Runtime.java:470>
../../../src/HEAD-2003-10-19/libjava/java/lang/Runtime.java: In class
`java.lang.Runtime':
../../../src/HEAD-2003-10-19/libjava/java/lang/Runtime.java: In method
`java.lang.Runtime.exec(java.lang.String,java.lang.String[],java.io.File)':
../../../src/HEAD-2003-10-19/libjava/java/lang/Runtime.java:470: internal
compiler error: in gimplify_expr, at gimplify.c:756
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [java/lang/Runtime.lo] Error 1
make[1]: Leaving directory
`/opt/spindazzle/gnutools/build-X-mingw32/i686-pc-mingw32/libjava'
make: *** [all-recursive] Error 1
More information about the Gcc-bugs
mailing list