Re: [PATCH] [8/19] x86: Use -maccumulate-outgoing-args

From: Andi Kleen
Date: Sat Oct 21 2006 - 14:20:56 EST


On Saturday 21 October 2006 19:18, Dave Jones wrote:
> On Sat, Oct 21, 2006 at 06:51:28PM +0200, Andi Kleen wrote:
> >
> > This avoids some problems with gcc 4.x and earlier generating
> > invalid unwind information. In 4.1 the option is default
> > when unwind information is enabled.
> >
> > And it seems to generate smaller code too, so it's probably
> > a good thing on its own. With gcc 4.0:
>
> That's quite odd. The gcc man page mentions that
> "The drawback is a notable increase in code size."
> for this option. I wonder if this is just stale documentation,
> or there's a reason why we're special :)

I redid the measurements originally because someone else commented
on this too, but I still saw the same numbers.

If someone else wants to redo them too please do
(note on gcc 4.1 you need to disable the stack unwinder or debug info
first, otherwise it is a nop)

-Andi
-
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/