This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC PATCH, i386]: PR 36793: x86-64 does not get __sync_synchronize right
- From: rridge at csclub dot uwaterloo dot ca (Ross Ridge)
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Nov 2008 16:48:51 -0500 (EST)
- Subject: Re: [RFC PATCH, i386]: PR 36793: x86-64 does not get __sync_synchronize right
H.J. Lu writes:
>This patch caused
>
>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38254
Without looking at the test case, it could be because in the non-SSE2
case there's no memory clobber emitted, so it's no longer acting as a
memory barrier to the compiler.
Ross Ridge