Messages in this thread |  | | From | suckfish@ihug ... | Date | Wed, 20 Sep 2000 08:24:36 +1200 (NZST) | Subject | inlines [was Re: Linux-2.4.0-test9-pre2] |
| |
Linus Torvalds writes: > > >On Tue, 19 Sep 2000, Rogier Wolff wrote: >> >> 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. > >That's not what gcc does. > >Gcc silently just doesn't inline it. >
From the gcc-2.95.2 manual:
`-Winline' Warn if a function can not be inlined, and either it was declared as inline, or else the `-finline-functions' option was given.
Ralph. - 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/
|  |