multiple defs. of TLS common symbols?

Ian Lance Taylor iant@google.com
Thu Jan 14 16:26:00 GMT 2010


Gary Funck <gary@intrepid.com> writes:

> Do you/others on this list have a reference that supports
> the statement: "Treating uninitialized variables
> as common variables is a non-standard extension even for C90."?
> (I did see a thread on this list, late April 1999, that
> discussed some of the issues, but nothing definitive.)

I have a hardcopy of the C90 standard but I can't easily show it to
you.

Online I found this:

    http://www.faqs.org/docs/artu/c_evolution.html

    [T]he ANSI Draft Standard finally settled on definition-reference
    rules in 1988.  Common-block public storage is still admitted as
    an acceptable variation by the standard.

Ian



More information about the Gcc mailing list