re PR tree-optimization/82697 (Wrong optimization with aliasing and "if")
authorRichard Biener <rguenther@suse.de>
Tue, 24 Oct 2017 13:51:45 +0000 (13:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 24 Oct 2017 13:51:45 +0000 (13:51 +0000)
commitda76b2532f85d0e928862303b1fc92fa2a5a6138
treef72cf1f121e8ed72233293ec677e54a9f8894541
parenteab01c18fdf287aaac60224ddbecae6574631b7b
re PR tree-optimization/82697 (Wrong optimization with aliasing and "if")

2017-10-24  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82697
* tree-ssa-phiopt.c (cond_store_replacement): Use alias-set
zero for conditional load and unconditional store.

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

From-SVN: r254047
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr82697.c [new file with mode: 0644]
gcc/tree-ssa-phiopt.c