[Bug c/58782] GCC generates unnecessary _ITM_WU8 for local variables.
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 18 09:22:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58782
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It is local, but address taken, and the address may escape to other threads.
In this testcase that isn't a problem, because the store happens before the
address is taken, but that would require extra analysis - address taken
automatic variables are not in SSA form and the flag that it is addressable is
just a global flag.
More information about the Gcc-bugs
mailing list