diff options
author | Richard Biener <rguenther@suse.de> | 2017-10-24 13:51:45 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-10-24 13:51:45 +0000 |
commit | da76b2532f85d0e928862303b1fc92fa2a5a6138 (patch) | |
tree | f72cf1f121e8ed72233293ec677e54a9f8894541 /gcc/fold-const.c | |
parent | eab01c18fdf287aaac60224ddbecae6574631b7b (diff) | |
download | gcc-da76b2532f85d0e928862303b1fc92fa2a5a6138.zip gcc-da76b2532f85d0e928862303b1fc92fa2a5a6138.tar.gz gcc-da76b2532f85d0e928862303b1fc92fa2a5a6138.tar.bz2 |
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
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions