[Bug ipa/60854] [4.9/4.10 Regression] inline constructor of extern template
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 16 08:32:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60854
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-04-16
CC| |hubicka at gcc dot gnu.org
Component|c++ |ipa
Target Milestone|--- |4.9.1
Summary|inline constructor of |[4.9/4.10 Regression]
|extern template |inline constructor of
| |extern template
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Not sure how the C++ 'extern template' explicit instantiation interacts with
the GCC always-inline extension. But with always-inline it is an _error_
to have a function not inlined and thus we omit the body of the function.
Somehow early inlining doesn't see that MyClass::MyClass is always-inline,
this works in 4.8 and the constructor is always-inlined.
Honza?
More information about the Gcc-bugs
mailing list