tree-optimization/95248 - fix oversight in SM rewrite
authorRichard Biener <rguenther@suse.de>
Fri, 22 May 2020 06:48:04 +0000 (08:48 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 22 May 2020 09:46:40 +0000 (11:46 +0200)
commitb6ed2e2bca54d1d290f553549d28b0c60a0f240f
tree953e6fc9939a200f94c4da799b504a594e2713c2
parent59b282bca301ed5fe551d03639cd853fead3f408
tree-optimization/95248 - fix oversight in SM rewrite

This fixes a leftover early out in determining the sequence of stores
to materialize.

2020-05-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/95248
* tree-ssa-loop-im.c (sm_seq_valid_bb): Remove bogus early out.

* gcc.dg/torture/pr95248.c: New testcase.
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr95248.c [new file with mode: 0644]
gcc/tree-ssa-loop-im.c