[Bug c++/15119] [3.5 Regression] internal compiler error: in substitute_placeholder_in_expr, at tree.c:2155

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 25 14:21:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-25 13:52 -------
Here is the back-trace, it works just fine on the tree-ssa also:
#0  0x4202bb8a in exit () from /lib/i686/libc.so.6
#1  0x081c0364 in diagnostic_report_diagnostic (context=0x8538cc0, diagnostic=0xbffeae40)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/diagnostic.c:281
#2  0x081c0413 in internal_error (msgid=0x83 <Address 0x83 out of bounds>)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/diagnostic.c:537
#3  0x081c044f in fancy_abort (file=0x83 <Address 0x83 out of bounds>, line=1108532352,
    function=0x83 <Address 0x83 out of bounds>) at /home/gates/pinskia/src/gnu/gcc/src/gcc/
diagnostic.c:583
#4  0x083ccd63 in substitute_placeholder_in_expr (exp=0x4004c260, obj=0x4005d168)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree.c:2160
#5  0x083cd41b in substitute_placeholder_in_expr (exp=0x4012c280, obj=0x4005d168)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree.c:2128
#6  0x083cd41b in substitute_placeholder_in_expr (exp=0x4012c294, obj=0x4005d168)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree.c:2128
#7  0x083cd41b in substitute_placeholder_in_expr (exp=0x4012c2a8, obj=0x4005d168)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree.c:2128
#8  0x083cce68 in substitute_placeholder_in_expr (exp=0x4012c2bc, obj=0x4005d168)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree.c:2101
#9  0x083ccde2 in substitute_placeholder_in_expr (exp=0x4012c26c, obj=0x4005d168)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree.c:2100
#10 0x083cd54b in substitute_placeholder_in_expr (exp=0x4005d150, obj=0x4005d168)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree.c:2136
#11 0x083cd41b in substitute_placeholder_in_expr (exp=0x4012c30c, obj=0x4005d168)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree.c:2128
#12 0x083cd41b in substitute_placeholder_in_expr (exp=0x4012c320, obj=0x4005d168)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree.c:2128
#13 0x081fb7d5 in get_inner_reference (exp=0x4005d168, pbitsize=0xbffeb2f4, pbitpos=0xbffeb2f8, 
poffset=0xbffeb2fc,
    pmode=0x83, punsignedp=0xbffeb30c, pvolatilep=0xbffeb304) at /home/gates/pinskia/src/gnu/
gcc/src/gcc/expr.c:5514
#14 0x081fe090 in expand_expr_real (exp=0x4005d168, target=0x0, tmode=VOIDmode, 
modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/expr.c:6954
#15 0x081a3c21 in expand_call (exp=0x4005d180, target=0x0, ignore=1) at /home/gates/pinskia/
src/gnu/gcc/src/gcc/calls.c:1381
#16 0x08201589 in expand_expr_real (exp=0x4005d180, target=0x0, tmode=VOIDmode, 
modifier=EXPAND_NORMAL, alt_rtl=0xbffeb898)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/expr.c:7417
#17 0x083aac69 in expand_expr_stmt_value (exp=0x4005d180, want_value=0, maybe_last=0)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/stmt.c:2165
#18 0x08173404 in genrtl_expr_stmt_value (expr=0x4005d180, want_value=0, maybe_last=0)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/c-semantics.c:355
#19 0x08174cac in expand_stmt (t=0x4012c3fc) at /home/gates/pinskia/src/gnu/gcc/src/gcc/c-
semantics.c:801
#20 0x081752eb in genrtl_compound_stmt (t=0x400d8f50) at /home/gates/pinskia/src/gnu/gcc/src/
gcc/c-semantics.c:721
#21 0x08174cb9 in expand_stmt (t=0x400d8f50) at /home/gates/pinskia/src/gnu/gcc/src/gcc/c-
semantics.c:828
#22 0x081752eb in genrtl_compound_stmt (t=0x400d8f14) at /home/gates/pinskia/src/gnu/gcc/src/
gcc/c-semantics.c:721
#23 0x08174cb9 in expand_stmt (t=0x400d8f14) at /home/gates/pinskia/src/gnu/gcc/src/gcc/c-
semantics.c:828
#24 0x0840fc07 in tree_rest_of_compilation (fndecl=0x40129f30, nested_p=false)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/tree-optimize.c:178
#25 0x0812d17e in expand_body (fn=0x40129f30) at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
semantics.c:2928
#26 0x084120fe in cgraph_expand_function (node=0x4012ba8c) at /home/gates/pinskia/src/gnu/
gcc/src/gcc/cgraphunit.c:791
#27 0x08412225 in cgraph_assemble_pending_functions () at /home/gates/pinskia/src/gnu/gcc/src/
gcc/cgraphunit.c:287
#28 0x08412f85 in cgraph_finalize_function (decl=0x40129f30, nested=false)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/cgraphunit.c:368
#29 0x0812d4b3 in expand_or_defer_fn (fn=0x40129f30) at /home/gates/pinskia/src/gnu/gcc/src/
gcc/cp/semantics.c:3011
#30 0x080f14ad in cp_parser_function_definition_after_declarator (parser=0x4012ac00, 
inline_p=false)
    at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:14307
#31 0x080f189a in cp_parser_init_declarator (parser=0x4012ac00, decl_specifiers=0x400d8eb0, 
prefix_attributes=0x0,

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|3.4.0                       |3.4.0 tree-ssa


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



More information about the Gcc-bugs mailing list