[Bug middle-end/80533] Alias analysis of zero length array does not recognize accesses beyond end of array
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 27 12:35:00 GMT 2017
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
More information about the Gcc-bugs
mailing list