tree-ssa-phiopt.c
49.5 KB
-
re PR tree-optimization/52445 (conditional store replacement causes segfault in generated code) · 69ef9a79
PR tree-optimization/52445 * tree-ssa-phiopt.c (struct name_to_bb): Remove ssa_name field, add ssa_name_ver, offset and size fields and change store field to bool. (name_to_bb_hash, name_to_bb_eq): Adjust for the above changes. (add_or_mark_expr): Likewise. Only consider previous stores with the same size and offset. (nt_init_block): Only look at gimple_assign_single_p stmts, doesn't look at rhs2. * gcc.dg/pr52445.c: New test. From-SVN: r184743
Jakub Jelinek committed