This is the mail archive of the
mailing list for the GCC project.
Re: thread-local storage: c++ front end
>>>>> "Richard" == Richard Henderson <firstname.lastname@example.org> writes:
> On Wed, May 22, 2002 at 02:31:48PM -0400, Jason Merrill wrote:
>> Yes. I thought you wanted to give an error for any thread-local variable
>> that required run-time initialization.
> I do.
>> If not, why are constructors special?
> I thought that was the only run-time initialization.
Nope. Something like
int i = f();
will also get initialized at run-time.