* tests/test-memrchr.c: Don't use '#pragma GCC diagnostic' for GCC
versions older than 4.7.
+2023-03-20 Bruno Haible <bruno@clisp.org>
+
+ memrchr tests: Avoid GCC warning.
+ * tests/test-memrchr.c: Don't use '#pragma GCC diagnostic' for GCC
+ versions older than 4.7.
+
2023-03-19 Bruno Haible <bruno@clisp.org>
vasnprintf: Fix potentially wrong zero-padding.
#include "macros.h"
/* Work around GCC bug 101494. */
-#if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) && __GNUC__ < 12
+#if 4 < __GNUC__ + (7 <= __GNUC_MINOR__) && __GNUC__ < 12
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif