This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/82697] [6/7 Regression] Wrong optimization with aliasing and "if"


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]