login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
25
Re: Is gcc thread-unsafe?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Andi Kleen <ak@...>
To: linux-os (Dick Johnson) <linux-os@...>
Cc: Nick Piggin <nickpiggin@...>, Linux Kernel Mailing List <linux-kernel@...>, Linus Torvalds <torvalds@...>
Subject:
Re: Is gcc thread-unsafe?
Date: Thursday, October 25, 2007 - 8:16 am
On Thursday 25 October 2007 13:58:56 linux-os (Dick Johnson) wrote:
quoted text
> > On Thu, 25 Oct 2007, Andi Kleen wrote: > > > On Thursday 25 October 2007 05:24, Nick Piggin wrote: > > > >> Basically, what the gcc developers are saying is that gcc is > >> free to load and store to any memory location, so long as it > >> behaves as if the instructions were executed in sequence. > > > > This case is clearly a bug, a very likely code pessimization. > > I guess it wasn't intentional, just an optimization that is useful > > for local register values doing too much. > > > I don't think it is a BUG,
Bug as in an optimization that makes the code slower than it was before. That is clearly a bug in a compiler. -Andi -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Is gcc thread-unsafe?
, Nick Piggin
, (Wed Oct 24, 11:24 pm)
Re: Is gcc thread-unsafe?
, Phillip Susi
, (Wed Oct 31, 6:10 pm)
Re: Is gcc thread-unsafe?
, Linus Torvalds
, (Thu Oct 25, 10:55 am)
Re: Is gcc thread-unsafe?
, Ismail
, (Thu Oct 25, 6:26 pm)
Re: Is gcc thread-unsafe?
, Jeff Garzik
, (Thu Oct 25, 6:56 pm)
Re: Is gcc thread-unsafe?
, Jeff Garzik
, (Thu Oct 25, 7:04 pm)
RE: Is gcc thread-unsafe?
, David Schwartz
, (Thu Oct 25, 5:42 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Thu Oct 25, 7:22 pm)
Re: Is gcc thread-unsafe?
, Andrew Haley
, (Fri Oct 26, 7:59 am)
Re: Is gcc thread-unsafe?
, Andrew Haley
, (Fri Oct 26, 7:59 am)
Re: Is gcc thread-unsafe?
, Chris Friesen
, (Fri Oct 26, 1:39 pm)
Re: Is gcc thread-unsafe?
, Pekka Enberg
, (Thu Oct 25, 11:12 am)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 3:15 am)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Thu Oct 25, 6:49 pm)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 7:09 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Thu Oct 25, 7:43 pm)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 7:55 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Thu Oct 25, 7:57 pm)
Re: Is gcc thread-unsafe?
, Linus Torvalds
, (Thu Oct 25, 7:14 pm)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 7:16 pm)
Re: Is gcc thread-unsafe?
, Linus Torvalds
, (Thu Oct 25, 7:32 pm)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 7:42 pm)
Re: Is gcc thread-unsafe?
, Willy Tarreau
, (Fri Oct 26, 12:57 am)
Re: Is gcc thread-unsafe?
, Linus Torvalds
, (Thu Oct 25, 7:57 pm)
Re: Is gcc thread-unsafe?
, Zachary Amsden
, (Thu Oct 25, 9:15 pm)
Re: Is gcc thread-unsafe?
, linux-os (Dick Johnson)
, (Thu Oct 25, 7:58 am)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 8:16 am)
Re: Is gcc thread-unsafe?
, Arjan van de Ven
, (Wed Oct 24, 11:46 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Wed Oct 24, 11:58 pm)
RE: Is gcc thread-unsafe?
, David Schwartz
, (Thu Oct 25, 12:29 am)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Thu Oct 25, 12:47 am)
Re: Is gcc thread-unsafe?
, Samuel Tardieu
, (Thu Oct 25, 5:44 am)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 5:55 am)
Re: Is gcc thread-unsafe?
, Arjan van de Ven
, (Thu Oct 25, 12:35 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michal Piotrowski
Re: Linux 2.6.21-rc4
Satyam Sharma
[PATCH 0/8] i386: bitops: Cleanup, sanitize, optimize
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
David Woodhouse
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Alexey Dobriyan
Re: [GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
709 guests
online.
Online users
watchmoviesonl
cordic
windowsxpregis
grababeet
javafitoayhh
Syndicate