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 c/48885] missed optimization with restrict qualifier?


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48885

--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Sep 24 07:34:47 2015
New Revision: 228073

URL: https://gcc.gnu.org/viewcvs?rev=228073&root=gcc&view=rev
Log:
2015-09-24  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/48885
        * tree-ssa-structalias.c (visit_loadstore): Handle default defs
        as not including any restrict tags from other pointers.

        * gcc.dg/tree-ssa/restrict-6.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/restrict-6.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-structalias.c


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