On 09/15/2011 06:26 PM, Paolo Bonzini wrote:

There's no reference to a GCC bug report about this in the thread.
Did the folks over at the libdispatch project never think to file one?

I asked them to attach a preprocessed testcase somewhere, but they
haven't done so yet. :(

They now attached it, and the bug turns out to be a missing parenthesis in an #ifdef. This made libdispatch compile the xchg as an asm rather than a sync builtin. And of course the asm was wrong.

Apparently, Apple people on the mailing list were looking at the Apple trunk, but the reporter was obviously compiling from the public trunk.

Paolo

Reply via email to