lkml.org 
[lkml]   [2000]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux-2.4.0-test9-pre2
Date
From
Linus Torvalds wrote:
>
>
> On Mon, 18 Sep 2000, David Woodhouse wrote:
> >
> > torvalds@transmeta.com said:
> > > Note that with most versions of gcc this is all a complete non-issue,
> > > as most versions of gcc will _always_ inline a function that the user
> > > has asked to be inlined. So the issue seldom actually comes up.
> >
> > I thought that 'extern inline' was in fact the intended usage. That way, if
> > gcc decides it's not going to obey our explicit instruction to inline a
> > certain function, we get to know about it.
>
> And what could we do about it? Basically nothing.

If gcc starts shouting:

somefile.c:1234: declared inline function 'serial_paranoia_check' is
somefile.c:1234: larger than 1k. Declining to honor the inline directive.
[...]
/tmp/cc39I5yn.o(.text+0x4): undefined reference to `serial_paranoia_check'


you'll get a pile of Email, so that you can decide what's wrong. I
thought that you thought that that was better than just having it
silently bloat enormously.

Roger.

--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* Common sense is the collection of *
****** prejudices acquired by age eighteen. -- Albert Einstein ********
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.069 / U:4.924 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site