This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78940] [missed optimization] Useless guard variable in thread_local defaulted constructor
- From: "marc.mutz at kdab dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Feb 2017 21:41:39 +0000
- Subject: [Bug c++/78940] [missed optimization] Useless guard variable in thread_local defaulted constructor
- Auto-submitted: auto-generated
- References: <bug-78940-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78940
Marc Mutz <marc.mutz at kdab dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marc.mutz at kdab dot com
--- Comment #3 from Marc Mutz <marc.mutz at kdab dot com> ---
This is not restricted to thread_locals. It also affects statics in functions:
PR 79561