* 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.
/*
- * Copyright (C) 2008-2022 Free Software Foundation, Inc.
+ * Copyright (C) 2008-2023 Free Software Foundation, Inc.
* Written by Eric Blake and Bruno Haible
*
* This program is free software: you can redistribute it and/or modify
#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