diff --git a/emper/Debug.hpp b/emper/Debug.hpp
index 9a15b39cbbe1e267a92af88a820c878d4241bb16..a1e5c878405cf382f8d57452027975b661ba44ea 100644
--- a/emper/Debug.hpp
+++ b/emper/Debug.hpp
@@ -59,7 +59,7 @@
 
 // test for GCC > 11.1.0
 #if __GNUC__ > 11 || \
-		(__GNUC__ == 11 && (__GNUC_MINOR__ > 1 || (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ > 0)))
+		(__GNUC__ == 11 && (__GNUC_MINOR__ > 1 || (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ >= 0)))
 #define IGNORE_MAYBE_UNINITIALIZED \
 	_Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
 #else