Re: BUGed to death

From: Dave Jones (davej@codemonkey.org.uk)
Date: Mon Apr 14 2003 - 16:17:40 EST


On Mon, Apr 14, 2003 at 11:10:05PM +0200, Duncan Sands wrote:

> Some places don't seem to know about BUG_ON, for example
> (from include/linux/skbuff.h):

Right, BUG_ON was added later (possibly for the purpose of
marking unlikely branches). I see your point now about gcc
not recognising branches which are going to be unlikely, but
whether or not it should is questionable IMO.

                Dave

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



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:33 EST