
18 Jan
2005
18 Jan
'05
4:41 p.m.
Alexander Terekhov wrote:
Peter Dimov wrote: [...]
Local static objects can be made safe by the compiler. The new cxx64 API requires it.
Too bad that new cxx64 ABI couldn't mandate a standard #pragma (or something like that) to turn it on/off ("you should not pay for what you don't use" motto, you know).
I actually think that not offering a way to turn it off is somewhat better, long term. Without an option to turn it off, compiler writers are forced to optimize local statics (using DCSI-MBR/DCCI/whatever).