[lkml]   [2004]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: IA32 (2.6.2 - 2004-02-05.22.30) - 3 New warnings (gcc 3.2.2)

On Fri, 6 Feb 2004 wrote:
> IOW, gcc doesn't realize that we never return from BUG(). AFAICS, it
> should. Some changes of __volatile__ semantics?

Thsrs is no way to tell gcc that an inline asm doesn't return. The only
way to do it would be to add something like a "for (;;);" (that gcc will
actually generate real code for) inside the BUG() macro, but I'd hate to
do that.

Better to just initialize the variable to a default value and avoid the
warning for now.

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

 \ /
  Last update: 2009-11-18 23:46    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean