This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: should sync builtins be full optimization barriers?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]