This is the mail archive of the
mailing list for the GCC project.
Re: Optimization of conditional access to globals: thread-unsafe?
- From: skaller <skaller at users dot sourceforge dot net>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Michael Matz <matz at suse dot de>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 27 Oct 2007 10:06:03 +1000
- Subject: Re: Optimization of conditional access to globals: thread-unsafe?
- References: <firstname.lastname@example.org> <email@example.com> <20071026143334.GA5041@moonlight.home> <firstname.lastname@example.org> <20071026155101.GB5041@moonlight.home> <016201c817e9$5454edd0$2e08a8c0@CAM.ARTIMI.COM> <20071026161739.GC5041@moonlight.home> <Pine.LNX.email@example.com> <firstname.lastname@example.org>
On Fri, 2007-10-26 at 14:24 -0700, Ian Lance Taylor wrote:
> Michael Matz <email@example.com> writes:
> This is basically a public relations exercise. I doubt this
> optimization is especially important, so I think it's OK to disable it
> to keep people happy. Even though the optimization has been there
> since gcc 3.4 and nobody noticed.
Most people didn't have multi-core processors then..
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net