re PR tree-optimization/64853 (wrong code at -Os and above on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Thu, 29 Jan 2015 13:50:37 +0000 (13:50 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 29 Jan 2015 13:50:37 +0000 (13:50 +0000)
commitd94e3e750d1e5c2fc9ecc8e8a32adec33fc85f8e
tree9bc44a875566081bd8465765ea38024d21452464
parent16277100d305948fa6d6fb5a4a318d9728c2400f
re PR tree-optimization/64853 (wrong code at -Os and above on x86_64-linux-gnu)

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.

From-SVN: r220247
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