RE: Is gcc thread-unsafe?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Haley
Date: Tuesday, October 30, 2007 - 3:20 am

David Schwartz writes:
 > 
 > > Well, yeah.  I know what you mean.  However, at this moment, some
 > > gcc developers are trying really hard not to be total d*ckheads
 > > about this issue, but get gcc fixed.  Give us a chance.
 > 
 > Can we get some kind of consensus that 'optimizations' that add
 > writes to any object that the programmer might have taken the
 > address of are invalid on any platform that supports memory
 > protection?

That's what the proposed standard language says, kinda-sorta.  There's
an informal description at
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2338.html.

Anyway, we have fixed this bug and are committing it to all open gcc
branches.  Credit to Ian Taylor for writing the patch.

Andrew.

-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903
-
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)