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 middle-end/80533] Alias analysis of zero length array does not recognize accesses beyond end of array


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Apr 27 12:34:45 2017
New Revision: 247327

URL: https://gcc.gnu.org/viewcvs?rev=247327&root=gcc&view=rev
Log:
2017-04-27  Richard Biener  <rguenther@suse.de>

        PR middle-end/80533
        * emit-rtl.c (set_mem_attributes_minus_bitpos): When
        stripping ARRAY_REFs from MEM_EXPR make sure we're not
        keeping a reference to a trailing array.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/emit-rtl.c

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