http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52445
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03
18:15:53 UTC ---
Author: jakub
Date: Wed Apr 3 17:51:16 2013
New Revision: 197440
URL: http://gcc.gnu.org/viewcvs?rev=197440&root=gcc&view=rev
Log:
Backported from mainline
2012-03-01 Jakub Jelinek <[email protected]>
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:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr52445.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/gcc/tree-ssa-phiopt.c