This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimization of conditional access to globals: thread-unsafe?
On Fri, 2007-10-26 at 20:17 +0400, Tomash Brechko wrote:
> cases. Only globals, or locals which address was passed to some
> function, should be treated specially.
err .. what about the heap??
And what do you do if you do not KNOW what the storage class is,
which is the case 99.99% of the time in C++ member functions?
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net