tree-ssa-reassoc.c (should_break_up_subtract): Also break up if the use is in USE...
authorRichard Biener <rguenther@suse.de>
Thu, 3 Aug 2017 14:08:15 +0000 (14:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 3 Aug 2017 14:08:15 +0000 (14:08 +0000)
commit297db279102e9c5f5b32f0580a303dab6a0a5fd5
tree9649644dcc0e27784f34ef9e8c353bf6169b6563
parent75560de5f5df4a003ecf80e28bf2b926ba758e55
tree-ssa-reassoc.c (should_break_up_subtract): Also break up if the use is in USE - X.

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.

From-SVN: r250855
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/reassoc-23.c
gcc/tree-ssa-reassoc.c