[Bug target/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Tue Dec 14 13:26:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770

--- Comment #60 from Jan Hubicka <hubicka at ucw dot cz> 2010-12-14 13:25:32 UTC ---
> Sure, if you want to play with that I have no principled objections. I only add
> here that we probably have another related PR filed by Ian (is already in CC?)
> and that, as far as I know, those priorities don't work everywhere (I know very
> little about init priorities in general, sorry)

Definitly the constructor priorities are not supported on non-GNU systems.  But
we can
probably chose iostream implementation based on configure test and fall back
into the
static constructor code.



More information about the Gcc-bugs mailing list