------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-20 
01:14 -------
No, see the following code:

class A
{
  A();
  int t;
};

void f()
{
  static A a;
}

So how can someone know that A will modify memory?  In fact the mutex is made 
sure so that a is only 
initialized once.

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


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

Reply via email to