------- Comment #12 from rguenth at gcc dot gnu dot org 2007-08-28 08:52 ------- Note I think it is perfectly reasonable and wanted that we can inline
template<_Lock_policy _Lp> inline void __enable_shared_from_this_helper(const __shared_count<_Lp>&, ...) { } and thus eliminate the call. We should figure out why we miscompile things if we do so though (and only if using -g, which is even more embarrassing). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33199