Re: [PATCH] C undefined behavior fix

From: Richard Henderson (
Date: Wed Jan 02 2002 - 19:07:39 EST

On Wed, Jan 02, 2002 at 05:01:18PM -0700, Tom Rini wrote:
> Yes, but doesn't -ffreestanding imply that gcc _can't_ assume this is
> the standard library...

Ignore strcpy. Yes, that's what visibly causing a failure here,
but the bug is in the funny pointer arithmetic. Leave that in
there and the compiler _will_ bite your ass sooner or later.

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 : Mon Jan 07 2002 - 21:00:19 EST