Re: [PATCH] Fix undefined/miscompiled construct in kernel parameters

From: Linus Torvalds (
Date: Sun Jun 15 2003 - 11:52:47 EST

On Sun, 15 Jun 2003, Andi Kleen wrote:
> The parse_args call in init/main.c does pointer arithmetic between two
> different external symbols. This is undefined in C (only pointer arthmetic
> in the same symbol is defined) and gets miscompiled on AMD64 with gcc 3.2,

That's silly. You're making the code less readable, with some silly
parameters. Why does it get miscompiled on amd64, and let's just fix that


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:42 EST