Re: [PATCH] Add -Winline
From: Adrian Bunk
Date: Thu Jan 15 2004 - 07:44:59 EST
On Wed, Jan 14, 2004 at 10:07:43AM +0100, Andi Kleen wrote:
>
> Add -Winline by default. This makes the compiler warn when something
> marked inline is not getting inlined. This is often because the
>
> It should only make a difference with gcc 3.4, because in earlier
> compilers we use always_inline and not inlining with always_inline
> is an error already.
>...
Attached are all inlining warnings I get with this patch applied in
2.6.1-mm3 using gcc 3.3.3 20040110 (prerelease) (Debian).
I've gzip'ed it since it was > 100 kB.
A few warnings might be missing since I used a .config with
CONFIG_SMP=y.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Attachment:
inlining-2.6.1-mm3.gz
Description: application/gunzip