Re: -freg-struct-return?

From: Andi Kleen
Date: Thu Feb 22 2007 - 06:22:34 EST


On Thu, Feb 22, 2007 at 12:09:04AM -0800, Jeremy Fitzhardinge wrote:
> Arjan van de Ven wrote:
> > Do we know how many gcc bugs this has? (regparm used to have many)
> > other than that.. sounds like a win...
> >
>
> The documentation suggests that its the preferred mode of operation, and
> that its the default on platforms where gcc is the primary compiler. So
> the fact that it isn't for Linux suggests either an oversight or that it
> is actually broken...
>
> Do we have much assembler which cares about the struct return calling
> convention? If not, it should be a fairly easy test.

I didn't think we had any that returned structures.

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