[Bug java/15888] New: ICE in size_binop, at fold-const.c:1661

green at redhat dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 9 07:18:00 GMT 2004


Found while building JacORB with Ant 1.6.1.  No small test case yet.

    [javac] /tmp/ccfO9RH6jx:0: internal compiler error: in size_binop, at
fold-const.c:1661
    [javac] Please submit a full bug report,
    [javac] with preprocessed source if appropriate.
    [javac] See <URL:http://gcc.gnu.org/bugs.html> for instructions.
 


bug appears when building JacORB_2_2/src/org/jacorb/config/Configuration.java to
bytecode.

Reproduce by building & installing rhug's Ant, as well as gnu-crypto and jessie,
and then running "ant" on JacORB 2.2.

(gdb) where
#0  fancy_abort (file=0x8497b68
"/home/green/sources/jhbuild-src/gcc/gcc/fold-const.c", line=-152194352,
    function=0x8497b68 "/home/green/sources/jhbuild-src/gcc/gcc/fold-const.c")
    at /home/green/sources/jhbuild-src/gcc/gcc/diagnostic.c:590
#1  0x08235f35 in size_binop (code=PLUS_EXPR, arg0=0x84978c0, arg1=0xf6ed1e88)
    at /home/green/sources/jhbuild-src/gcc/gcc/fold-const.c:1661
#2  0x08093bef in set_method_index (decl=0xf67b95e4, method_index=0x8497b68)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/class.c:1444
#3  0x08095ee1 in layout_class_method (this_class=0xf67b73a0,
super_class=0xf67b71d0, method_decl=0xf67b95e4,
    dtable_count=0xf5b91618) at
/home/green/sources/jhbuild-src/gcc/gcc/java/class.c:2216
#4  0x080964ba in layout_class_methods (this_class=0xf67b73a0) at
/home/green/sources/jhbuild-src/gcc/gcc/java/class.c:2147
#5  0x0805e124 in java_layout_seen_class_methods () at parse.y:7587
#6  0x0805e433 in java_layout_classes () at parse.y:7652
#7  0x0807b378 in java_expand_classes () at parse.y:9001
#8  0x080c571d in java_parse_file (set_yydebug=0) at
/home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:1111
#9  0x083a7d6b in toplev_main (argc=139033448, argv=0xfeebc9a4) at
/home/green/sources/jhbuild-src/gcc/gcc/toplev.c:1654
#10 0x00125ad4 in __libc_start_main () from /lib/tls/libc.so.6
#11 0x08049c21 in _start ()

-- 
           Summary: ICE in size_binop, at fold-const.c:1661
           Product: gcc
           Version: unknown
            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,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15888



More information about the Gcc-bugs mailing list