Boost logo

Boost :

Subject: Re: [boost] Boost.Atomic on OSX Leopard, x86-32?
From: Helge Bahmann (hcb_at_[hidden])
Date: 2010-03-08 16:30:13


Am Monday 08 March 2010 21:06:44 schrieb Josh Faust:
> > need the "lock"->"lock;" or "+r"->"+q" changes.
> >
> >
> > thanks for trying this, I have not yet found time to install gcc-4.0.1
> > for reproducing this
>
> Let me know if you want me to test anything for you.

Have tried it over the weekend, and mainline gcc-4.0.1 on Linux miscompiles in
exactly the same way you described, so I can now reproduce it (and yes, it is
definitely a compiler bug). I am still trying to figure out what exactly is
going wrong in gcc.

Best regards
Helge


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk