On Sat, Jan 5, 2013 at 9:10 PM, Steven Bosscher wrote:
> Bootstrapped&tested on powerpc64-unknown-linux-gnu.

And to be clear, bootstrapped with this patch on top:
Index: system.h
===================================================================
--- system.h    (revision 194924)
+++ system.h    (working copy)
@@ -698,7 +698,7 @@

 /* Use gcc_unreachable() to mark unreachable locations (like an
    unreachable default case of a switch.  Do not use gcc_assert(0).  */
-#if (GCC_VERSION >= 4005) && !ENABLE_ASSERT_CHECKING
+#if (GCC_VERSION >= 4005) //&& !ENABLE_ASSERT_CHECKING
 #define gcc_unreachable() __builtin_unreachable()
 #else
 #define gcc_unreachable() (fancy_abort (__FILE__, __LINE__, __FUNCTION__))

Otherwise, __builtin_unreachable would be almost unused and
bootstrap+test wouldn't prove much :-)

Ciao!
Steven

Reply via email to