Re: [PATCH] BUG preserve registers

H. Peter Anvin
2002-02-09T20:24:56Z

Linus Torvalds wrote:

>
> Oh, but I was talking about the case of the macro being used in an "static
> inline" in a header file, and that inline is not actually _used_
> anywhere..
>

Ah... but it was talked about in reference to a macro.

Also, since AFAIK BUG() never returns, you may want to have it end with
for(;;); to let gcc know that any code downstream of a BUG() is dead.

-hpa