[Bug java/15769] New: ICE: seemingly infinite recursion through gimplify_expr

green at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 1 23:50:00 GMT 2004


Here's another case of blowing the stack.  I found this when building xalan from
rhug.  No small test case yet.  I can't seem to find a work around.

gcj --encoding=ISO-8859-1 -Wno-deprecated
--classpath=upstream/src:/home/green/sources/jhbuild-src/rhug/xalan/upstream/src:/home/green/sources/jhbuild-src/rhug/xalan/../BCEL/upstream/src/java:/home/green/sources/jhbuild-src/rhug/xalan/../jakarta-regexp/upstream/src/java:/home/green/sources/jhbuild-src/rhug/xalan/../cup/upstream:/home/green/sources/jhbuild-src/rhug/xalan/../xerces/upstream/src
-fassume-compiled -g -O2 -c
/home/green/sources/jhbuild-src/rhug/xalan/upstream/src/org/apache/xalan/templates/TemplateSubPatternAssociation.java
-MT upstream/src/org/apache/xalan/templates/TemplateSubPatternAssociation.lo -MD
-MP -MF
.deps/upstream/src/org/apache/xalan/templates/TemplateSubPatternAssociation.TPlo
 -fPIC -o
upstream/src/org/apache/xalan/templates/.libs/TemplateSubPatternAssociation.o
gcj: Internal error: Segmentation fault (program jc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.



#0  0x0093c62e in vfprintf () from /lib/tls/libc.so.6
#1  0x0095732b in vsprintf () from /lib/tls/libc.so.6
#2  0x0094534d in sprintf () from /lib/tls/libc.so.6
#3  0x080d7952 in create_tmp_var_name (prefix=0x83e78c0 "%s.%lu")
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:301
#4  0x080d79bb in create_tmp_var_raw (type=0xf6ebc000,
    prefix=0x83e7bed "iftmp")
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:319
#5  0x080d7ad0 in create_tmp_var (type=0x83e78c0, prefix=0x83e7bed "iftmp")
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:359
#6  0x080dd28c in gimplify_cond_expr (expr_p=0xf5571544, pre_p=0xfe400794,
    target=0x83e78c0)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:2356
#7  0x080dfa62 in gimplify_expr (expr_p=0xf5571544, pre_p=0xfe400794,
    post_p=0xfe4006f0, gimple_test_f=0x80d6ac8 <is_gimple_condexpr>,
    fallback=fb_rvalue)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3201
#8  0x080dd3ab in gimplify_cond_expr (expr_p=0xfe400808, pre_p=0xfe400794,
    target=0x83e78c0)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:2408
#9  0x080dfa62 in gimplify_expr (expr_p=0xfe400808, pre_p=0xfe400794,
    post_p=0xfe400790, gimple_test_f=0x80d6b84 <is_gimple_stmt>,
    fallback=fb_none)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3201
#10 0x080df107 in gimplify_stmt (stmt_p=0xfe400808)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3062
#11 0x080dd1c6 in gimplify_cond_expr (expr_p=0xf55714c0, pre_p=0xfe4008f4,
    target=0x83e78c0)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:2375
#12 0x080dfa62 in gimplify_expr (expr_p=0xf55714c0, pre_p=0xfe4008f4,
    post_p=0xfe400850, gimple_test_f=0x80d6ac8 <is_gimple_condexpr>,
    fallback=fb_rvalue)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3201
#13 0x080dd3ab in gimplify_cond_expr (expr_p=0xfe400968, pre_p=0xfe4008f4,
    target=0x83e78c0)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:2408
#14 0x080dfa62 in gimplify_expr (expr_p=0xfe400968, pre_p=0xfe4008f4,
    post_p=0xfe4008f0, gimple_test_f=0x80d6b84 <is_gimple_stmt>,
    fallback=fb_none)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3201
#15 0x080df107 in gimplify_stmt (stmt_p=0xfe400968)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3062
#16 0x080dd1c6 in gimplify_cond_expr (expr_p=0xf5571410, pre_p=0xfe400a54,
    target=0x83e78c0)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:2375
#17 0x080dfa62 in gimplify_expr (expr_p=0xf5571410, pre_p=0xfe400a54,
    post_p=0xfe4009b0, gimple_test_f=0x80d6ac8 <is_gimple_condexpr>,
    fallback=fb_rvalue)
    at /home/green/sources/jhbuild-src/gcc/gcc/gimplify.c:3201

-- 
           Summary: ICE: seemingly infinite recursion through gimplify_expr
           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=15769



More information about the Java-prs mailing list