From 46c0e6c156071d8c225962dc0f1631ce09368094 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 8 Feb 2024 14:16:55 -0500 Subject: [PATCH] Remove dead code for gcc-13 and newer --- include/deal.II/base/config.h.in | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index 5e468bc133..d40f48a3ee 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -188,16 +188,6 @@ #else # if defined(__clang__) # define DEAL_II_CXX23_ASSUME(expr) __builtin_assume(static_cast(expr)) -# elif defined(__GNUC__) && !defined(__ICC) && __GNUC__ >= 13 -# define DEAL_II_CXX23_ASSUME(expr) \ - do \ - { \ - _Pragma("GCC diagnostic push") \ - _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") \ - [[assume(expr)]]; \ - _Pragma("GCC diagnostic pop") \ - } \ - while (false) # elif defined(_MSC_VER) || defined(__ICC) # define DEAL_II_CXX23_ASSUME(expr) __assume(expr); # else -- 2.39.5