This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How inlined are inlined functions?
>>>>> "Alexandre" == Alexandre Oliva <oliva@lsd.ic.unicamp.br> writes:
Alexandre> break? Shouldn't such functions only be inlined when
Alexandre> they're explicitly declared inline?
The new code only inlines functions that are marked `inline'. It
could be extended to what -O3 does now, but in that case, we would
have to be careful about some of these things.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com