tree-optimization/97357 - avoid abnormals in loop splitting conditions
authorRichard Biener <rguenther@suse.de>
Mon, 12 Oct 2020 06:51:05 +0000 (08:51 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 12 Oct 2020 08:27:27 +0000 (10:27 +0200)
commit5b2cc633794f6e1f882d46bdefe267401d33285e
tree6e4a322df377a86084eede8ee32ba9e680ba62a2
parent875c29a245150b6d023b8b0eb7f0ba224df082d0
tree-optimization/97357 - avoid abnormals in loop splitting conditions

This avoids abnormals in another place.

2020-10-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/97357
* tree-ssa-loop-split.c (ssa_semi_invariant_p): Abnormal
SSA names are not semi invariant.

* gcc.dg/pr97357.c: New testcase.
gcc/testsuite/gcc.dg/pr97357.c [new file with mode: 0644]
gcc/tree-ssa-loop-split.c