2015-01-29 Richard Biener <rguenther@suse.de>
commitbc8fa06826a22cdcfadbd78e50138dfb21f71387
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jan 2015 13:50:37 +0000 (29 13:50 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jan 2015 13:50:37 +0000 (29 13:50 +0000)
tree9bc44a875566081bd8465765ea38024d21452464
parenta35cc24ab741b1d4db33281eb43ab74a2e5134ed
2015-01-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/64853
* tree-vrp.c (vrp_valueize_1): Do not return anything if the
stmt will get simulated again.
* tree-ssa-ccp.c (valueize_op_1): Likewise.

* gcc.dg/torture/pr64853.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220247 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr64853.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c
gcc/tree-vrp.c