re PR tree-optimization/52445 (conditional store replacement causes segfault in generated code)
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
Showing
gcc/testsuite/gcc.dg/pr52445.c
0 → 100644
Please
register
or
sign in
to comment