This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/16178] New: jc1 ICE: seemingly infinite loop while compiling junit


I found this regression while building rhug's junit with today's gcj.  I don't
know when the regression first appeared.   It happens while building
TestImplementorTest.java at every -O* level.  No small test case yet.  Here's
the stack trace.

Program received signal SIGSEGV, Segmentation fault.
fold (expr=0xf6cdac48)
    at /home/green/sources/jhbuild-src/gcc/gcc/fold-const.c:5965
5965      enum tree_code code = TREE_CODE (t);
(gdb) where
#0  fold (expr=0xf6cdac48)
    at /home/green/sources/jhbuild-src/gcc/gcc/fold-const.c:5965
#1  0x08094eb0 in layout_class (this_class=0xf6e07e80)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/class.c:2060
#2  0x080c3e78 in read_class (name=0xf6e0b580)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:551
#3  0x080c430d in load_class (class_or_name=0xf6e0be44, verbose=1)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:591
#4  0x080c4559 in load_inner_classes (cur_class=Variable "cur_class" is not
available.
)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:696
#5  0x080c3e7f in read_class (name=0xf6e0b580)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:552
#6  0x080c430d in load_class (class_or_name=0xf6e0be44, verbose=1)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:591
#7  0x080c4559 in load_inner_classes (cur_class=Variable "cur_class" is not
available.
)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:696
#8  0x080c3e7f in read_class (name=0xf6e0b580)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:552
#9  0x080c430d in load_class (class_or_name=0xf6e0be44, verbose=1)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:591
#10 0x080c4559 in load_inner_classes (cur_class=Variable "cur_class" is not
available.
)
    at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:696
etc
etc
etc
etc

-- 
           Summary: jc1 ICE: seemingly infinite loop while compiling junit
           Product: gcc
           Version: 3.5.0
            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
  GCC host triplet: i686-pc-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]