This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Inline documentation patch...
- To: Per Bothner <bothner at cygnus dot com>
- Subject: Re: Inline documentation patch...
- From: Linus Torvalds <torvalds at transmeta dot com>
- Date: Mon, 8 Feb 1999 18:56:17 -0800 (PST)
- cc: egcs-patches at egcs dot cygnus dot com
On Mon, 8 Feb 1999, Per Bothner wrote:
>
> But rather than throwing insults at each other, can we agree on
> the following?
> * Inline cannot be absoluete, but it is more than a mere hint:
> It is a request or a strong suggestion.
Yes. Except that "extern inline" is already documented to be _much_ much
more than a "mere hint".
> * The documentation should be improved about when inline can
> and can't be supported.
Yes.
> * I don't think we can change the sementics of plain inline.
> However, it seems reasonable that "extern inline" should
> be an error when the compiler can't inline the function.
If "extern inline" still works as a "inline if at all humanly possible",
then I agree wholeheartedly.
Linus