https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77397
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-08-30 CC| |hubicka at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Component|c++ |ipa Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The issue is that the global initializer function is created very early (by frontends) rather than having global initializers being first-class citizens in the symtab code (registering inline functions as DECL_INITIAL maybe).