Re: [PATCH][RFC] getting rid of stupid loop in BUG()

From: H. Peter Anvin
Date: Tue Jul 24 2007 - 15:04:55 EST


Jeremy Fitzhardinge wrote:
> H. Peter Anvin wrote:
>> Could it be a gcc version difference?
>>
>
> Likely. Well, we can always try it and see how much crap turns up. If
> gcc keeps quiet about it, its certainly an improvement over the dummy loop.
>
> J

You could do both, actually. If gcc sees the end without it, the loop
will simply get dead-code eliminated.

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