tree-optimization/100566 - fix another predication issue in VN
authorRichard Biener <rguenther@suse.de>
Wed, 12 May 2021 13:39:52 +0000 (15:39 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 12 May 2021 15:01:32 +0000 (17:01 +0200)
commit097fde5e7514e909f2e8472be2e008d0cab2260d
tree82047c43a36e8e4b1be56ae54955ea708bbaea17
parentd1adbe5c1bd3f3ba098ff112eed9b61515e2dc20
tree-optimization/100566 - fix another predication issue in VN

This amends the fix for PR100053 where I failed to amend all edge
tests in dominated_by_p_w_unex.

2021-05-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/100566
* tree-ssa-sccvn.c (dominated_by_p_w_unex): Properly handle
allow_back for all edge queries.

* gcc.dg/torture/pr100566.c: New testcase.
gcc/testsuite/gcc.dg/torture/pr100566.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c