[Bug tree-optimization/71632] [7 Regression] hang at -O3 on x86_64-linux-gnu

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 23 11:13:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71632

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
It hangs during expansion of:

(gdb) p debug_gimple_stmt(stmt)
iftmp.0_22 = _9 > iftmp.0_75 ? 1.0e+0 : 0.0;


in:

#119 0x00000000008b6978 in expand_expr_real (exp=exp@entry=0x7ffff69c9048,
target=target@entry=0x0, tmode=tmode@entry=VOIDmode,
modifier=modifier@entry=EXPAND_NORMAL, alt_rtl=alt_rtl@entry=0x0,
inner_reference_p=inner_reference_p@entry=false) at ../../gcc/expr.c:8104
#120 0x000000000082a881 in expand_normal (exp=0x7ffff69c9048) at
../../gcc/expr.h:285
---Type <return> to continue, or q <return> to quit---
#121 do_compare_and_jump (treeop0=treeop0@entry=0x7ffff69c9048,
treeop1=treeop1@entry=0x7ffff69c90d8, signed_code=signed_code@entry=LT,
unsigned_code=unsigned_code@entry=LTU,
if_false_label=if_false_label@entry=0x7ffe030c3300,
if_true_label=if_true_label@entry=0x0, 
    prob=-1) at ../../gcc/dojump.c:1172
#122 0x000000000082c6d0 in do_jump_1 (code=<optimized out>, op0=0x7ffff69c9048,
op1=0x7ffff69c90d8, if_false_label=if_false_label@entry=0x7ffe030c3300,
if_true_label=if_true_label@entry=0x0, prob=prob@entry=-1) at
../../gcc/dojump.c:264
#123 0x000000000082b738 in do_jump (exp=0x7ffff69caaa0,
if_false_label=0x7ffe030c3300, if_true_label=if_true_label@entry=0x0, prob=-1)
at ../../gcc/dojump.c:531
#124 0x000000000082c4c7 in jumpifnot (exp=exp@entry=0x7ffff69caaa0,
label=label@entry=0x7ffe030c3300, prob=prob@entry=-1) at ../../gcc/dojump.c:132
#125 0x00000000008c669f in expand_expr_real_2 (ops=ops@entry=0x7fffffffc600,
target=target@entry=0x0, tmode=tmode@entry=VOIDmode,
modifier=modifier@entry=EXPAND_NORMAL) at ../../gcc/expr.c:9482
#126 0x00000000008b43c4 in expand_expr_real_1 (exp=0x7ffff69c9120,
target=<optimized out>, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0,
inner_reference_p=<optimized out>) at ../../gcc/expr.c:9736
#127 0x00000000008c834e in expand_normal (exp=<optimized out>) at
../../gcc/expr.h:285
#128 expand_cond_expr_using_cmove (treeop2=0x7ffff69972b8,
treeop1=0x7ffff69972d0, treeop0=0x7ffff69c2e38) at ../../gcc/expr.c:8160
#129 expand_expr_real_2 (ops=ops@entry=0x7fffffffc840, target=target@entry=0x0,
tmode=tmode@entry=VOIDmode, modifier=modifier@entry=EXPAND_NORMAL) at
../../gcc/expr.c:9460
#130 0x00000000008b43c4 in expand_expr_real_1 (exp=0x7ffff69c91f8,
target=<optimized out>, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0,
inner_reference_p=<optimized out>) at ../../gcc/expr.c:9736
#131 0x00000000008c834e in expand_normal (exp=<optimized out>) at
../../gcc/expr.h:285
#132 expand_cond_expr_using_cmove (treeop2=0x7ffff69972b8,
treeop1=0x7ffff69972d0, treeop0=0x7ffff69caac8) at ../../gcc/expr.c:8160
#133 expand_expr_real_2 (ops=ops@entry=0x7fffffffca80, target=target@entry=0x0,
tmode=tmode@entry=VOIDmode, modifier=modifier@entry=EXPAND_NORMAL) at
../../gcc/expr.c:9460
#134 0x00000000008b43c4 in expand_expr_real_1 (exp=0x7ffff69c92d0,
target=<optimized out>, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0,
inner_reference_p=<optimized out>) at ../../gcc/expr.c:9736
#135 0x00000000008c83bb in expand_normal (exp=<optimized out>) at
../../gcc/expr.h:285
#136 expand_cond_expr_using_cmove (treeop2=0x7ffff69972b8,
treeop1=0x7ffff69972d0, treeop0=0x7ffff69b9e38) at ../../gcc/expr.c:8161
#137 expand_expr_real_2 (ops=ops@entry=0x7fffffffccc0, target=target@entry=0x0,
tmode=tmode@entry=VOIDmode, modifier=modifier@entry=EXPAND_NORMAL) at
../../gcc/expr.c:9460
#138 0x00000000008b43c4 in expand_expr_real_1 (exp=0x7ffff69b2c18,
target=<optimized out>, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0,
inner_reference_p=<optimized out>) at ../../gcc/expr.c:9736
#139 0x00000000008c83bb in expand_normal (exp=<optimized out>) at
../../gcc/expr.h:285
#140 expand_cond_expr_using_cmove (treeop2=0x7ffff69972b8,
treeop1=0x7ffff69972d0, treeop0=0x7ffff69b9f28) at ../../gcc/expr.c:8161
#141 expand_expr_real_2 (ops=ops@entry=0x7fffffffcf00, target=target@entry=0x0,
tmode=tmode@entry=VOIDmode, modifier=modifier@entry=EXPAND_NORMAL) at
../../gcc/expr.c:9460
#142 0x00000000008b43c4 in expand_expr_real_1 (exp=0x7ffff688be10,
target=<optimized out>, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0,
inner_reference_p=<optimized out>) at ../../gcc/expr.c:9736
#143 0x00000000008c83bb in expand_normal (exp=<optimized out>) at
../../gcc/expr.h:285
#144 expand_cond_expr_using_cmove (treeop2=0x7ffff69972b8,
treeop1=0x7ffff69972d0, treeop0=0x7ffff69c2000) at ../../gcc/expr.c:8161
#145 expand_expr_real_2 (ops=ops@entry=0x7fffffffd140, target=target@entry=0x0,
tmode=tmode@entry=VOIDmode, modifier=modifier@entry=EXPAND_NORMAL) at
../../gcc/expr.c:9460
#146 0x00000000008b43c4 in expand_expr_real_1 (exp=0x7ffff688bbd0,
target=<optimized out>, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0,
inner_reference_p=<optimized out>) at ../../gcc/expr.c:9736
#147 0x00000000008c834e in expand_normal (exp=<optimized out>) at
../../gcc/expr.h:285
#148 expand_cond_expr_using_cmove (treeop2=0x7ffff69972b8,
treeop1=0x7ffff69972d0, treeop0=0x7ffff69c2348) at ../../gcc/expr.c:8160
#149 expand_expr_real_2 (ops=ops@entry=0x7fffffffd380, target=target@entry=0x0,
tmode=tmode@entry=VOIDmode, modifier=modifier@entry=EXPAND_NORMAL) at
../../gcc/expr.c:9460
#150 0x00000000008b43c4 in expand_expr_real_1 (exp=0x7ffff69b2f30,
target=<optimized out>, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0,
inner_reference_p=<optimized out>) at ../../gcc/expr.c:9736
#151 0x00000000008c83bb in expand_normal (exp=<optimized out>) at
../../gcc/expr.h:285
#152 expand_cond_expr_using_cmove (treeop2=0x7ffff69972b8,
treeop1=0x7ffff69972d0, treeop0=0x7ffff69b9d70) at ../../gcc/expr.c:8161
#153 expand_expr_real_2 (ops=<optimized out>, target=<optimized out>,
tmode=<optimized out>, modifier=EXPAND_NORMAL) at ../../gcc/expr.c:9460
#154 0x00000000007a9d04 in expand_gimple_stmt_1 (stmt=0x7ffff69ab1e0) at
../../gcc/cfgexpand.c:3680
#155 0x00000000007a9f54 in expand_gimple_stmt (stmt=0x7ffff69ab1e0) at
../../gcc/cfgexpand.c:3740
#156 0x00000000007b106b in expand_gimple_basic_block (bb=0x7ffff688c270,
disable_tail_calls=false) at ../../gcc/cfgexpand.c:5747
#157 0x00000000007b2b34 in (anonymous namespace)::pass_expand::execute
(this=0x20169f0, fun=0x7ffff6992930) at ../../gcc/cfgexpand.c:6362
#158 0x0000000000af6f74 in execute_one_pass (pass=pass@entry=0x20169f0) at
../../gcc/passes.c:2344
#159 0x0000000000af7548 in execute_pass_list_1 (pass=0x20169f0) at
../../gcc/passes.c:2428
#160 0x0000000000af75a5 in execute_pass_list (fn=<optimized out>,
pass=<optimized out>) at ../../gcc/passes.c:2439
#161 0x00000000007ebb14 in cgraph_node::expand (this=0x7ffff69ac000) at
../../gcc/cgraphunit.c:1983
#162 0x00000000007ed401 in expand_all_functions () at
../../gcc/cgraphunit.c:2119
#163 symbol_table::compile (this=this@entry=0x7ffff68850a8) at
../../gcc/cgraphunit.c:2475
#164 0x00000000007ef828 in symbol_table::compile (this=0x7ffff68850a8) at
../../gcc/cgraphunit.c:2539
#165 symbol_table::finalize_compilation_unit (this=0x7ffff68850a8) at
../../gcc/cgraphunit.c:2565
#166 0x0000000000bc1898 in compile_file () at ../../gcc/toplev.c:490
#167 0x000000000064c274 in do_compile () at ../../gcc/toplev.c:1998


More information about the Gcc-bugs mailing list