+2015-06-02 Roland McGrath <roland@hack.frob.com>
+
+ * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
+ "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
+
2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/aarch64/libm-test-ulps: Update.
there seems to be no way to pacify GCC selectively, only for the
place where it's needed. Do not use DIAG_IGNORE_NEEDS_COMMENT
here, as it's not defined yet. */
-#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
+#if ((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)
+# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
+#else
+# pragma GCC diagnostic ignored "-Wuninitialized"
+#endif
#include <errno.h>
#if !_LIBC