How inlined are inlined functions?

Mark Mitchell mark@codesourcery.com
Fri Dec 3 11:44:00 GMT 1999


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


More information about the Gcc mailing list