Re: [patch 7/7] Make "inline" no longer mandatory for gcc 4.x
From: Arjan van de Ven
Date: Sat Jan 07 2006 - 14:10:34 EST
On Sat, 2006-01-07 at 14:05 -0500, Kurt Wall wrote:
> On Fri, Jan 06, 2006 at 11:45:09AM +0100, Arjan van de Ven took 0 lines to write:
> > Subject: when CONFIG_CC_OPTIMIZE_FOR_SIZE, allow gcc4 to control inlining
> > From: Ingo Molnar <mingo@xxxxxxx>
> >
> > if optimizing for size (CONFIG_CC_OPTIMIZE_FOR_SIZE), allow gcc4 compilers
> > to decide what to inline and what not - instead of the kernel forcing gcc
> > to inline all the time. This requires several places that require to be
> > inlined to be marked as such, previous patches in this series do that.
> > This is probably the most flame-worthy patch of the series.
>
> Hmm. This failed when using -Os while linking vmlinux (gcc 4.0.2):
hmm can you change it to be an __always_inline? it is already that on
x86...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/