]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove dead code for gcc-13 and newer 16457/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 8 Feb 2024 19:16:55 +0000 (14:16 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 8 Feb 2024 19:16:55 +0000 (14:16 -0500)
include/deal.II/base/config.h.in

index 5e468bc133251629c351ca5cf12a0e7bbb8dec27..d40f48a3eeccd545a323092f9f215616cea2e610 100644 (file)
 #else
 #  if defined(__clang__)
 #    define DEAL_II_CXX23_ASSUME(expr) __builtin_assume(static_cast<bool>(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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.