[cfe-dev] always_inline and noinline attributes

Matthijs Kooijman matthijs at stdin.nl
Wed Jul 23 23:47:19 PDT 2008


Hi Chris,

> I think that Chris is really in favour of option b) here, because "inlining
> can sometimes change semantics". However, I still don't really understand what
> kind of cases we are talking about. Chris, could you give an example? Also, is
> this changing of semantics specific to always_inline? From what you wrote, I
> would assume that this changing of semantics can happen with any inline, so
> you shouldn't be doing any inlining at all at link time. Nor at optimization
> time, for that matter, so I'm probably missing an essential point here :-)
I did mean in favour of option a) here, actually :-)

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080724/f6e026e6/attachment.sig>


More information about the cfe-dev mailing list