[tree-ssa] java on AMD64 still fails

Andreas Jaeger aj@suse.de
Fri Oct 31 08:44:00 GMT 2003


Diego, it fails with:
gimplification failed:
if (st.325 == 0B)
  {
    _Jv_ThrowNullPointerException ()
  } 
else
  {
    iftmp.324 = st.325
  } <cond_expr 0x2a95bb2820
    type <void_type 0x2a9557a9a0 void VOID
        align 1 symtab 0 alias set -1
        pointer_to_this <pointer_type 0x2a9557ab60> chain <type_decl
        0x2a9557aa80 void>>
    side-effects
    arg 0 <eq_expr 0x2a95bb27d0
        type <boolean_type 0x2a9557c000 boolean unsigned QI
            size <integer_cst 0x2a9557b000 constant invariant 8>
            unit size <integer_cst 0x2a95573c60 constant invariant 1>
            align 8 symtab 0 alias set -1 precision 1 min <integer_cst
            0x2a9557b180 0> max <integer_cst 0x2a9557b1b0 1>
            pointer_to_this <pointer_type 0x2a95a26b60> chain
            <type_decl 0x2a9557c0e0 boolean>>
        invariant
        arg 0 <var_decl 0x2a95c03e00 st.325 type <pointer_type
        0x2a95abe460>
            unsigned used ignored SI file
            /usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/libjava/java/lang/Throwable.java line 543
            size <integer_cst 0x2a95573c90 constant invariant 32>
            unit size <integer_cst 0x2a95573d50 constant invariant 4>
            align 32 context <function_decl 0x2a959fee00
            setStackTrace> chain <var_decl 0x2a95c03d20 iftmp.324>>
        arg 1 <integer_cst 0x2a9557b090 constant invariant 0>>
    arg 1 <call_expr 0x2a95bb2780 type <void_type 0x2a9557a9a0 void>
        side-effects
        arg 0 <addr_expr 0x2a95ba2b80 type <pointer_type 0x2a95b091c0>
            side-effects constant invariant arg 0 <function_decl
            0x2a955b3c40 _Jv_ThrowNullPointerException>>
        /usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/libjava/java/lang/Throwable.java:543>
    arg 2 <modify_expr 0x2a95c05640 type <void_type 0x2a9557a9a0 void>
        side-effects
        arg 0 <var_decl 0x2a95c03d20 iftmp.324 type <pointer_type
        0x2a95abe460>
            unsigned used ignored SI file
            /usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/libjava/java/lang/Throwable.java line 543 size <integer_cst 0x2a95573c90 32> unit size <integer_cst 0x2a95573d50 4>
            align 32 context <function_decl 0x2a959fee00
            setStackTrace> chain <var_decl 0x2a95c03b60 T.323>> arg 1
            setStackTrace> <var_decl 0x2a95c03e00 st.325>


Note, this is compilation of a 32-bit object using -m32:
/abuild/aj/builds/gcc/misc/gcc/gcj
-B/abuild/aj/builds/gcc/misc/x86_64-suse-linux-gnu/32/libjava/
-B/abuild/aj/builds/gcc/misc/gcc/ --encoding=UTF-8 -Wno-deprecated
-fclasspath=
-fbootclasspath=/abuild/aj/builds/gcc/misc/x86_64-suse-linux-gnu/32/libjava
-ffloat-store -fno-omit-frame-pointer -g -O2 -m32 -MD -MT
java/lang/Throwable.lo -MF java/lang/Throwable.d -c
/usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/libjava/java/lang/Throwable.java
-fPIC -o java/lang/.libs/Throwable.o 
/abuild/aj/builds/gcc/misc/gcc/gcj
-B/abuild/aj/builds/gcc/misc/x86_64-suse-linux-gnu/32/libjava/
-B/abuild/aj/builds/gcc/misc/gcc/ --encoding=UTF-8 -Wno-deprecated
-fclasspath=
-fbootclasspath=/abuild/aj/builds/gcc/misc/x86_64-suse-linux-gnu/32/libjava
-ffloat-store -fno-omit-frame-pointer -g -O2 -m32 -MD -MT
java/lang/ThreadLocal.lo -MF java/lang/ThreadLocal.d -c
/usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/libjava/java/lang/ThreadLocal.java
-o java/lang/ThreadLocal.o

Can you try without --disable-multilib?

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20031031/99e4c453/attachment.sig>


More information about the Gcc-bugs mailing list