[Bug tree-optimization/82697] [6/7 Regression] Wrong optimization with aliasing and "if"
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 24 13:52:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82697
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Oct 24 13:51:45 2017
New Revision: 254047
URL: https://gcc.gnu.org/viewcvs?rev=254047&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr82697.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-phiopt.c
More information about the Gcc-bugs
mailing list