re PR tree-optimization/79201 (missed optimization: sinking doesn't handle calls...
commit2700fbd655f608e8e23dd3b113eb36d9d8d83bf7
authorRichard Biener <rguenther@suse.de>
Tue, 25 Apr 2017 09:26:37 +0000 (25 09:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 25 Apr 2017 09:26:37 +0000 (25 09:26 +0000)
treec58d111a88734f85e5ee93cf424addf03cf59294
parentbfda9ccde6ae7aad1d259e6ebc29fc8f0af3f154
re PR tree-optimization/79201 (missed optimization: sinking doesn't handle calls, swap PRE and sinking)

2017-04-25  Richard Biener  <rguenther@suse.de>

PR tree-optimization/79201
* tree-ssa-sink.c (statement_sink_location): Handle calls.

* gcc.dg/tree-ssa/ssa-sink-16.c: New testcase.
* gcc.target/i386/pr22152.c: Disable sinking.

From-SVN: r247159
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-sink-16.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr22152.c
gcc/tree-ssa-sink.c