re PR ipa/81877 (Incorrect results with lto and -fipa-cp and -fipa-cp-clone)
authorRichard Biener <rguenther@suse.de>
Mon, 18 Dec 2017 08:35:23 +0000 (08:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 18 Dec 2017 08:35:23 +0000 (08:35 +0000)
commitbcfaa720a25d9f3bc760a993ee1d949f68e777ef
treea99c8c099c762920ec72ae2c6498f4a2e4bf5f22
parent8c3563f392007b60a07d4c6d3c335355e19f3135
re PR ipa/81877 (Incorrect results with lto and -fipa-cp and -fipa-cp-clone)

2017-12-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81877
* tree-ssa-loop-im.c (ref_indep_loop_p): Remove safelen parameters.
(outermost_indep_loop): Adjust.
(ref_indep_loop_p_1): Likewise.  Remove safelen handling again.
(can_sm_ref_p): Adjust.

* g++.dg/torture/pr81877.C: New testcase.
* g++.dg/vect/pr70729.cc: XFAIL.
* g++.dg/vect/pr70729-nest.cc: XFAIL.

From-SVN: r255776
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr81877.C [new file with mode: 0644]
gcc/testsuite/g++.dg/vect/pr70729-nest.cc
gcc/testsuite/g++.dg/vect/pr70729.cc
gcc/tree-ssa-loop-im.c