Re: Is gcc thread-unsafe?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bart Van Assche
Date: Sunday, November 4, 2007 - 11:06 am

On 11/4/07, Linus Torvalds <torvalds@linux-foundation.org> wrote:

What I understood from the gcc mailing list is that a patch has been
applied to the gcc sources that solves the issue with speculative
stores that was already discussed here on the LKML
(http://gcc.gnu.org/ml/gcc/2007-10/msg00554.html).

But the issue I am referring to is a different issue: namely that a
compiler optimization called register promotion can introduce data
races. Hans J. Boehm has a clear explanation of this -- see also
paragraph 4.3 in
http://www.hpl.hp.com/techreports/2004/HPL-2004-209.pdf or
http://portal.acm.org/citation.cfm?id=1064978.1065042 .

Bart Van Assche.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Is gcc thread-unsafe?, Bart Van Assche, (Fri Oct 26, 7:40 am)
Re: Is gcc thread-unsafe?, Linus Torvalds, (Fri Oct 26, 8:09 am)
Re: Is gcc thread-unsafe?, Linus Torvalds, (Fri Oct 26, 8:27 am)
Re: Is gcc thread-unsafe?, Andrew Haley, (Fri Oct 26, 8:34 am)
Re: Is gcc thread-unsafe?, Linus Torvalds, (Fri Oct 26, 9:28 am)
Re: Is gcc thread-unsafe?, Bart Van Assche, (Fri Oct 26, 10:07 am)
Re: Is gcc thread-unsafe?, Andrew Haley, (Fri Oct 26, 10:12 am)
Re: Is gcc thread-unsafe?, Linus Torvalds, (Fri Oct 26, 10:25 am)
RE: Is gcc thread-unsafe?, David Schwartz, (Fri Oct 26, 11:06 am)
Re: Is gcc thread-unsafe?, Alan Cox, (Fri Oct 26, 11:08 am)
Re: Is gcc thread-unsafe?, Linus Torvalds, (Fri Oct 26, 11:14 am)
Re: Is gcc thread-unsafe?, Andi Kleen, (Fri Oct 26, 1:39 pm)
Re: Is gcc thread-unsafe?, Giacomo Catenazzi, (Fri Oct 26, 2:45 pm)
Re: Is gcc thread-unsafe?, Linus Torvalds, (Fri Oct 26, 3:24 pm)
RE: Is gcc thread-unsafe?, Andrew Haley, (Tue Oct 30, 3:20 am)
Re: Is gcc thread-unsafe?, Bart Van Assche, (Fri Nov 2, 8:29 am)
Re: Is gcc thread-unsafe?, Andrew Haley, (Fri Nov 2, 8:38 am)
RE: Is gcc thread-unsafe?, David Schwartz, (Fri Nov 2, 10:18 am)
Re: Is gcc thread-unsafe?, Bart Van Assche, (Sun Nov 4, 8:13 am)
Re: Is gcc thread-unsafe?, Linus Torvalds, (Sun Nov 4, 10:45 am)
Re: Is gcc thread-unsafe?, Andrew Haley, (Sun Nov 4, 10:58 am)
Re: Is gcc thread-unsafe?, Bart Van Assche, (Sun Nov 4, 11:06 am)