diff options
author | Richard Biener <rguenther@suse.de> | 2017-11-23 09:05:11 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-11-23 09:05:11 +0000 |
commit | d7a160a45ea7ed09247788c708721c2813cf0007 (patch) | |
tree | d8b5404eccbb222d1e6e5d2a067adec60e607835 /gcc/expr.c | |
parent | bb9ec14d414a51c3461510f3cddfcafe11b35ee1 (diff) | |
download | gcc-d7a160a45ea7ed09247788c708721c2813cf0007.zip gcc-d7a160a45ea7ed09247788c708721c2813cf0007.tar.gz gcc-d7a160a45ea7ed09247788c708721c2813cf0007.tar.bz2 |
re PR tree-optimization/23094 (store ccp, or store copy prop misses an optimization)
2017-11-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/23094
* tree-ssa-sccvn.c (vuse_ssa_val): Handle VN_TOP when we
come here from walking over backedges in the first iteration.
(vn_reference_lookup_3): Skip clobbers that store the same value.
* gcc.dg/tree-ssa/ssa-fre-61.c: New testcase.
From-SVN: r255093
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions