[Bug c++/20099] -pthreads should imply -fno-threadsafe-statics

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 20 15:37:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-20 06:21 -------
No, the point is if you expose an API to the user, why should the user of the API know that you modify 
the memory.

Let the compiler do the work for you instead of doing the work in this case.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20099



More information about the Gcc-bugs mailing list