[libdispatch-dev] lib dispatch worker threads may loop depending on compiler optimization

Paolo Bonzini bonzini at gnu.org
Fri Sep 9 22:41:06 PDT 2011

On Fri, Sep 9, 2011 at 19:33, Joakim Johansson <jocke at tbricks.com> wrote:
>>> I'm still betting that GCC changed in this regard.
>> No, it didn't.  Really, believe me, unlike you I can follow GCC development. ;)
> Paolo, did you look at the bug report linked to in the original mail?
> I haven't followed gcc development, but really, how would you in that case explain
> the disassembly from 4.5.1 attached there?

_Something_ in GCC changed, perhaps alias analysis or the scheduler.
But nothing related to atomics.  The bug has always been latent since
atomics were introduced in GCC 4.2.


More information about the libdispatch-dev mailing list