Re: Problems with EGCS 1.1 vs GCC 2.7.2.3

Matthias Andree (mandree@sx1.HRZ.Uni-Dortmund.DE)
Wed, 30 Dec 1998 18:26:05 +0100


On Mon, Dec 28, 1998 at 11:42:58PM +0000, Alan Cox wrote:
> __attribute__((regparm(0))) int printk(const char *, ...)
>
> That is needed because a user might turn on register parameter passing too
> and that would break when called from assembler unless marked with
> regparm.

Is not that an egcs bug? The ... var stuff requires stack parameters in
the first place (for that <stdargs.h> va_* stuff) so even with register
parameter passing, the compiler NEEDS to fall back to stack passing,
does not it?

-- 
Matthias Andree

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/