[Bug middle-end/72795] Missed optimization of external-linkage variables in presence of barriers
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 4 11:07:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72795
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
"memory" only includes memory that can be indirectly accessed (thus may be
address-taken in this or another CU). You have to add other vars explicitely.
Note that we asume that asm volatile might read 'x' through such a pointer.
More information about the Gcc-bugs
mailing list