[Bug middle-end/33199] [4.3 Regression] tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 28 08:52:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list