This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13487] Construction of local static objects is not thread-safe
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Dec 2003 02:38:43 -0000
- Subject: [Bug c++/13487] Construction of local static objects is not thread-safe
- References: <20031225023132.13487.rmerkert@alphatech.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-25 02:38 -------
The compiler should never decide or put thread safe calls in because it defets the propose of
optimizing code and thread safeness. The coder should always code the thread safeness theirself.
If you want something in the compiler, talk to C++ standard committiee.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13487