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

Serge Belyshev <belyshev at depni dot sinp.msu.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |belyshev at depni dot 
sinp.msu.ru

--- Comment #2 from Serge Belyshev <belyshev at depni dot sinp.msu.ru> ---
Crashes here in predcom:

Program received signal SIGSEGV, Segmentation fault.
...
(gdb) bt -100
...
#662173 0x00000000012f7c09 in follow_ssa_edge (loop=0x7ffff78cd000,
def=0x7fffd8be5160, halting_phi=0x7ffff78d4200,
evolution_of_loop=0x7fffffffdf00, limit=0) at
../../gcc/gcc/tree-scalar-evolution.c:1350
#662174 0x00000000012f6f22 in follow_ssa_edge_binary (loop=0x7ffff78cd000,
at_stmt=0x7fffd8be51b8, type=0x7ffff78c31f8, rhs0=0x7fffd8be6120,
code=POINTER_PLUS_EXPR, rhs1=0x7ffff7775d38, halting_phi=0x7ffff78d4200,
evolution_of_loop=0x7fffffffdf00, limit=0) at
../../gcc/gcc/tree-scalar-evolution.c:947
#662175 0x00000000012f769e in follow_ssa_edge_in_rhs (loop=0x7ffff78cd000,
stmt=0x7fffd8be51b8, halting_phi=0x7ffff78d4200,
evolution_of_loop=0x7fffffffdf00, limit=0) at
../../gcc/gcc/tree-scalar-evolution.c:1135
#662176 0x00000000012f7c09 in follow_ssa_edge (loop=0x7ffff78cd000,
def=0x7fffd8be51b8, halting_phi=0x7ffff78d4200,
evolution_of_loop=0x7fffffffdf00, limit=0) at
../../gcc/gcc/tree-scalar-evolution.c:1350
#662177 0x00000000012f6f22 in follow_ssa_edge_binary (loop=0x7ffff78cd000,
at_stmt=0x7ffff78ccf20, type=0x7ffff78c31f8, rhs0=0x7fffd8be61b0,
code=POINTER_PLUS_EXPR, rhs1=0x7ffff7775d38, halting_phi=0x7ffff78d4200,
evolution_of_loop=0x7fffffffdf00, limit=0) at
../../gcc/gcc/tree-scalar-evolution.c:947
#662178 0x00000000012f769e in follow_ssa_edge_in_rhs (loop=0x7ffff78cd000,
stmt=0x7ffff78ccf20, halting_phi=0x7ffff78d4200,
evolution_of_loop=0x7fffffffdf00, limit=0) at
../../gcc/gcc/tree-scalar-evolution.c:1135
#662179 0x00000000012f7c09 in follow_ssa_edge (loop=0x7ffff78cd000,
def=0x7ffff78ccf20, halting_phi=0x7ffff78d4200,
evolution_of_loop=0x7fffffffdf00, limit=0) at
../../gcc/gcc/tree-scalar-evolution.c:1350
#662180 0x00000000012f812d in analyze_evolution_in_loop
(loop_phi_node=0x7ffff78d4200, init_cond=0x7ffff78ce0d8) at
../../gcc/gcc/tree-scalar-evolution.c:1467
#662181 0x00000000012f864d in interpret_loop_phi (loop=0x7ffff78cd000,
loop_phi_node=0x7ffff78d4200) at ../../gcc/gcc/tree-scalar-evolution.c:1630
#662182 0x00000000012fa1bd in analyze_scalar_evolution_1 (loop=0x7ffff78cd000,
var=0x7ffff777fee8) at ../../gcc/gcc/tree-scalar-evolution.c:2044
#662183 0x00000000012fa393 in analyze_scalar_evolution (loop=0x7ffff78cd000,
var=0x7ffff777fee8) at ../../gcc/gcc/tree-scalar-evolution.c:2108
#662184 0x00000000012fa49e in analyze_scalar_evolution_in_loop
(wrto_loop=0x7ffff78cd000, use_loop=0x7ffff78cd000, version=0x7ffff777fee8,
folded_casts=0x7fffffffe0df) at ../../gcc/gcc/tree-scalar-evolution.c:2210
#662185 0x00000000012fd082 in simple_iv_with_niters (wrto_loop=0x7ffff78cd000,
use_loop=0x7ffff78cd000, op=0x7ffff777fee8, iv=0x7fffffffe280, iv_niters=0x0,
allow_nonconstant_step=true) at ../../gcc/gcc/tree-scalar-evolution.c:3288
#662186 0x00000000012fd8e0 in simple_iv (wrto_loop=0x7ffff78cd000,
use_loop=0x7ffff78cd000, op=0x7ffff777fee8, iv=0x7fffffffe280,
allow_nonconstant_step=true) at ../../gcc/gcc/tree-scalar-evolution.c:3413
#662187 0x000000000207e0ef in dr_analyze_innermost (drb=0x3166a50,
ref=0x7ffff78e11b8, loop=0x7ffff78cd000, stmt=0x7ffff78d8dc0) at
../../gcc/gcc/tree-data-ref.c:950
#662188 0x000000000207f342 in create_data_ref (nest=0x7ffff78d0f00,
loop=0x7ffff78cd000, memref=0x7ffff78e11b8, stmt=0x7ffff78d8dc0, is_read=true,
is_conditional_in_stmt=false) at ../../gcc/gcc/tree-data-ref.c:1255
#662189 0x0000000002089d1c in find_data_references_in_stmt
(nest=0x7ffff78cd000, stmt=0x7ffff78d8dc0, datarefs=0x7fffffffe7f8) at
../../gcc/gcc/tree-data-ref.c:5149
#662190 0x0000000002089f0e in find_data_references_in_bb (loop=0x7ffff78cd000,
bb=0x7ffff78da410, datarefs=0x7fffffffe7f8) at
../../gcc/gcc/tree-data-ref.c:5203
#662191 0x0000000002089fce in find_data_references_in_loop
(loop=0x7ffff78cd000, datarefs=0x7fffffffe7f8) at
../../gcc/gcc/tree-data-ref.c:5236
#662192 0x000000000208a604 in compute_data_dependences_for_loop
(loop=0x7ffff78cd000, compute_self_and_read_read_dependences=true,
loop_nest=0x7fffffffe750, datarefs=0x7fffffffe7f8,
dependence_relations=0x7fffffffe7f0) at ../../gcc/gcc/tree-data-ref.c:5411
#662193 0x00000000012d7b7e in tree_predictive_commoning_loop
(loop=0x7ffff78cd000) at ../../gcc/gcc/tree-predcom.c:3192
#662194 0x00000000012d8134 in tree_predictive_commoning () at
../../gcc/gcc/tree-predcom.c:3314
#662195 0x00000000012d81b4 in run_tree_predictive_commoning
(fun=0x7ffff78c6000) at ../../gcc/gcc/tree-predcom.c:3339
#662196 0x00000000012d8222 in (anonymous namespace)::pass_predcom::execute
(this=0x2fc7cb0, fun=0x7ffff78c6000) at ../../gcc/gcc/tree-predcom.c:3368
#662197 0x000000000102b1c3 in execute_one_pass (pass=0x2fc7cb0) at
../../gcc/gcc/passes.c:2474
...

Bisected to r256634, reverting manually "fixes" the problem.

Reply via email to