login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
25
Re: Is gcc thread-unsafe?
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andi Kleen
Subject:
Re: Is gcc thread-unsafe?
Date: Thursday, October 25, 2007 - 5: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, 8:24 pm)
Re: Is gcc thread-unsafe?
, Arjan van de Ven
, (Wed Oct 24, 8:46 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Wed Oct 24, 8:58 pm)
RE: Is gcc thread-unsafe?
, David Schwartz
, (Wed Oct 24, 9:29 pm)
Re: Is gcc thread-unsafe?
, Arjan van de Ven
, (Wed Oct 24, 9:35 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Wed Oct 24, 9:47 pm)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 12:15 am)
Re: Is gcc thread-unsafe?
, Samuel Tardieu
, (Thu Oct 25, 2:44 am)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 2:55 am)
Re: Is gcc thread-unsafe?
, linux-os (Dick Johnson)
, (Thu Oct 25, 4:58 am)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 5:16 am)
Re: Is gcc thread-unsafe?
, Linus Torvalds
, (Thu Oct 25, 7:55 am)
Re: Is gcc thread-unsafe?
, Pekka Enberg
, (Thu Oct 25, 8:12 am)
RE: Is gcc thread-unsafe?
, David Schwartz
, (Thu Oct 25, 2:42 pm)
Re: Is gcc thread-unsafe?
, Ismail
, (Thu Oct 25, 3:26 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Thu Oct 25, 3:49 pm)
Re: Is gcc thread-unsafe?
, Jeff Garzik
, (Thu Oct 25, 3:56 pm)
Re: Is gcc thread-unsafe?
, Jeff Garzik
, (Thu Oct 25, 4:04 pm)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 4:09 pm)
Re: Is gcc thread-unsafe?
, Linus Torvalds
, (Thu Oct 25, 4:14 pm)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 4:16 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Thu Oct 25, 4:22 pm)
Re: Is gcc thread-unsafe?
, Linus Torvalds
, (Thu Oct 25, 4:32 pm)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 4:42 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Thu Oct 25, 4:43 pm)
Re: Is gcc thread-unsafe?
, Andi Kleen
, (Thu Oct 25, 4:55 pm)
Re: Is gcc thread-unsafe?
, Nick Piggin
, (Thu Oct 25, 4:57 pm)
Re: Is gcc thread-unsafe?
, Linus Torvalds
, (Thu Oct 25, 4:57 pm)
Re: Is gcc thread-unsafe?
, Zachary Amsden
, (Thu Oct 25, 6:15 pm)
Re: Is gcc thread-unsafe?
, Willy Tarreau
, (Thu Oct 25, 9:57 pm)
Re: Is gcc thread-unsafe?
, Andrew Haley
, (Fri Oct 26, 4:59 am)
Re: Is gcc thread-unsafe?
, Andrew Haley
, (Fri Oct 26, 4:59 am)
Re: Is gcc thread-unsafe?
, Chris Friesen
, (Fri Oct 26, 10:39 am)
Re: Is gcc thread-unsafe?
, Phillip Susi
, (Wed Oct 31, 3:10 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing
Jeremy Fitzhardinge
Re: Linux 2.6.28.10 and Linux 2.6.29.6 XEN Guest Support Broken x86_64 in BUILD
Nick Piggin
Re: [patch] CFS (Completely Fair Scheduler), v2
Gary Hade
Re: [PATCH 0/5][RFC] Physical PCI slot objects
Dave Johnson
Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?
linux-netdev
:
Arnd Bergmann
Re: 64-bit net_device_stats
Stephens, Allan
RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode
frank.blaschka
[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
David Miller
Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()
git
:
Junio C Hamano
Re: [PATCH] [RFC] add Message-ID field to log on git-am operation
Junio C Hamano
Re: Handling large files with GIT
Karl
Re: [ANNOUNCE] pg - A patch porcelain for GIT
Josh Triplett
Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target
Pierre Habouzit
Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.
git-commits-head
:
Linux Kernel Mailing List
MIPS: RBTX4939: Fix IOC pin-enable register updating
Linux Kernel Mailing List
regulator: update email address for Liam Girdwood
Linux Kernel Mailing List
[SCSI] ipr: add message to error table
Linux Kernel Mailing List
powerpc/32: Wire up the trampoline code for kdump
Linux Kernel Mailing List
USB: omap_udc: sync with OMAP tree
openbsd-misc
:
Josh Grosse
Re: error : pkg add phpMyAdmin
Brian Candler
Re: OBSD's perspective on SELinux
Jacob Meuser
Re: /dev/audio: Device busy
David Vasek
Re: Inexpensive, low power, "wall wart" computer
William Boshuck
Re: Richard Stallman...
Colocation donated by:
Syndicate