re PR tree-optimization/82291 (wrong code at -O3 on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Fri, 22 Sep 2017 12:00:55 +0000 (12:00 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 22 Sep 2017 12:00:55 +0000 (12:00 +0000)
commit2402ffb6711e01619f6fff7dc6f55be650ef2e23
tree89a49fc754b8cdb2d7bb9f8184629b3ac7b28b85
parent2c818750d8bebb4b929dcffcce4c8f3fa2de4f35
re PR tree-optimization/82291 (wrong code at -O3 on x86_64-linux-gnu)

2017-09-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82291
* tree-if-conv.c (predicate_mem_writes): Make sure to
remove writes in blocks predicated with false.

* gcc.dg/torture/pr82291.c: New testcase.

From-SVN: r253093
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr82291.c [new file with mode: 0644]
gcc/tree-if-conv.c