http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #64 from Alan Modra <amodra at gmail dot com> 2011-05-09 09:52:44 UTC --- Re: comment #56 > gcc generates a single function per CU > that runs all the static constructors for that CU Note that if you add __attribute__ (( constructor )) into the mix this is no longer true. See http://sourceware.org/bugzilla/show_bug.cgi?id=12730 for an example.