This is the mail archive of the gcc-patches@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]

Re: [JAVA PATCH] Minor tweak to java_check_reference



On Sun, 5 Oct 2003, Roger Sayle wrote:

> >    ../../../gcc/libjava/java/lang/ThreadGroup.java:670: internal compiler
> > error: in store_expr, at expr.c:4432
> >
> > This can be seen with the attached test program.

> The abort at line 4432 of expr.c does look like it may be triggered
> by my change.  Any chance that you can provide a stack trace for me
> so that I can pin-point the routine calling store_expr with an
> inappropriate want_value?


Breakpoint 2, store_expr (exp=0x484af378, target=0x484ccb20, want_value=2)
    at ../../gcc/gcc/expr.c:4432
4432            abort ();
(gdb) bt
#0  store_expr (exp=0x484af378, target=0x484ccb20, want_value=2)
    at ../../gcc/gcc/expr.c:4432
#1  0x08137bbe in expand_expr (exp=0x484a68a0, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_STACK_PARM) at ../../gcc/gcc/expr.c:8934
#2  0x080d25aa in store_one_arg (arg=0xbfbfbfec, argblock=0x0, flags=0,
    variable_size=0, reg_parm_stack_space=0) at ../../gcc/gcc/calls.c:4477
#3  0x080d5366 in expand_call (exp=0x484af3f0, target=0x0, ignore=1)
    at ../../gcc/gcc/calls.c:2971
#4  0x0813186a in expand_expr (exp=0x484af3f0, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:7912
#5  0x08132d24 in expand_expr (exp=0x484af648, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_SUM) at ../../gcc/gcc/expr.c:8677
#6  0x08132d90 in expand_expr (exp=0x484af660, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_SUM) at ../../gcc/gcc/expr.c:8679
#7  0x0812bcf0 in expand_assignment (to=0x484af3c0, from=0x484a68e0,
    want_value=1) at ../../gcc/gcc/expr.c:4194
#8  0x081325ab in expand_expr (exp=0x484af168, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:9131
#9  0x0812efa6 in expand_expr (exp=0x484a6660, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:6984
#10 0x08097676 in java_expand_expr (exp=0x0, target=0x484a4210,
    tmode=VOIDmode, modifier=0) at ../../gcc/gcc/java/expr.c:2557
#11 0x0812e6c6 in expand_expr (exp=0x484cf820, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:9486
#12 0x0829d552 in expand_expr_stmt_value (exp=0x484cf820, want_value=0,
    maybe_last=1212836000) at ../../gcc/gcc/stmt.c:2152
#13 0x08135fe3 in expand_expr (exp=0x484af0d8, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:7130
#14 0x08132d90 in expand_expr (exp=0x484af0f0, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:8679
#15 0x08132d24 in expand_expr (exp=0x484af108, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:8677
#16 0x0829d552 in expand_expr_stmt_value (exp=0x484af108, want_value=0,
    maybe_last=1212836000) at ../../gcc/gcc/stmt.c:2152
#17 0x0812f03c in expand_expr (exp=0x484b7578, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:7145
#18 0x0829d552 in expand_expr_stmt_value (exp=0x484b7578, want_value=0,
    maybe_last=1212836000) at ../../gcc/gcc/stmt.c:2152
#19 0x08135fe3 in expand_expr (exp=0x484af258, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:7130
#20 0x08097676 in java_expand_expr (exp=0x0, target=0x484a4210,
    tmode=VOIDmode, modifier=0) at ../../gcc/gcc/java/expr.c:2557
#21 0x0812e6c6 in expand_expr (exp=0x484cf7d0, target=0x0, tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../../gcc/gcc/expr.c:9486
#22 0x0829d552 in expand_expr_stmt_value (exp=0x484cf7d0, want_value=0,
    maybe_last=1212836000) at ../../gcc/gcc/stmt.c:2152
#23 0x0808de5b in java_expand_body (fndecl=0x484d0360)
    at ../../gcc/gcc/java/decl.c:1855
#24 0x082e6e3f in cgraph_expand_function (node=0x484d3c3c)
    at ../../gcc/gcc/cgraphunit.c:494
#25 0x082e7345 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1272
#26 0x080aa38c in java_parse_file (set_yydebug=0)
    at ../../gcc/gcc/java/jcf-parse.c:1124
#27 0x082a6a4a in toplev_main (argc=15, argv=0x0)
    at ../../gcc/gcc/toplev.c:1792
#28 0x080bdf37 in main (argc=15, argv=0xbfbfd618) at ../../gcc/gcc/main.c:35
#29 0x08049b60 in ___start ()

Thank you for looking into this.

   /Krister


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