This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: thread-local storage: c++ front end


>>>>> "Richard" == Richard Henderson <rth@redhat.com> 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.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]