2017-08-03 Richard Biener <rguenther@suse.de>
commit29a45e9306232eae17a79a9acf8d3867c4788d3a
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Aug 2017 14:08:15 +0000 (3 14:08 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Aug 2017 14:08:15 +0000 (3 14:08 +0000)
tree9649644dcc0e27784f34ef9e8c353bf6169b6563
parent32e4d7fa5f5ab3c82c0729b3ff2dd67d8ca473f9
2017-08-03  Richard Biener  <rguenther@suse.de>

* tree-ssa-reassoc.c (should_break_up_subtract): Also break
up if the use is in USE - X.

* gcc.dg/tree-ssa/reassoc-23.c: Adjust to fool early folding
and CSE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250855 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/reassoc-23.c
gcc/tree-ssa-reassoc.c