[Bug tree-optimization/87313] attribute malloc not used for alias analysis when it could be
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 17 10:47:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87313
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
You fail to see that g may clobber *p because p points to global memory. GCC
knwos that malloc doesn't do such clobbering but you didn't tell GCC that g
does not (looks like you actually can't do that right now).
More information about the Gcc-bugs
mailing list