Using C++ in GCC is OK

Andi Kleen andi@firstfloor.org
Mon May 31 18:24:00 GMT 2010


Mark Mitchell <mark@codesourcery.com> writes:
>
> I think virtual functions are on the edge; quite useful, but do result
> in the compiler adding a pointer to data objects and in uninlinable
> indirect calls at run-time.  Therefore, I would avoid them in the

Is that still true given profile feedback and the recent
devirtualization work? I would assume the common case
to get inlined then anyways.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.



More information about the Gcc mailing list