From a2bf626b54fe24f4e2c1890d2b92912116847e47 Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Tue, 26 Mar 2019 00:41:31 +0300 Subject: [PATCH] __builtin_unreachable was introduced in GCC 4.5 https://godbolt.org/z/7oXS2i --- include/boost/config/compiler/gcc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 9ae6072e..18412b07 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -327,7 +327,7 @@ // // __builtin_unreachable: -#if BOOST_GCC_VERSION >= 40800 +#if BOOST_GCC_VERSION >= 40500 #define BOOST_UNREACHABLE_RETURN(x) __builtin_unreachable(); #endif