http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52445
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-01 14:13:13 UTC --- Author: jakub Date: Thu Mar 1 14:13:06 2012 New Revision: 184743 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184743 Log: 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. Added: trunk/gcc/testsuite/gcc.dg/pr52445.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-phiopt.c