Thread (9 messages) 9 messages, 5 authors, 2009-09-24

Re: [PATCH 01/10] Add support for GCC-4.5's __builtin_unreachable() to compiler.h

From: David Daney <hidden>
Date: 2009-09-11 15:59:16
Also in: linux-alpha, linux-mips, linux-s390, lkml

Michael Buesch wrote:
On Friday 11 September 2009 01:56:42 David Daney wrote:
quoted
+/* Unreachable code */
+#ifndef unreachable
+# define unreachable() do { for (;;) ; } while (0)
+#endif
# define unreachable() do { } while (1)

? :)
Clearly I was not thinking clearly when I wrote that part.  RTH noted 
the same thing.  I will fix it.

Thanks,
David Daney
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help