aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-12-20 05:02:14 +0800
committerH.J. Lu <hjl.tools@gmail.com>2024-12-22 17:46:56 +0800
commitb5bdef46cc5ba30935c8c71370ab1a71bc75b283 (patch)
tree3d2fba1ad0ee6e3d444713212c859137e802675e
parentdaf47b66dfc100cde1ce90654c962d23750c5f97 (diff)
downloadglibc-b5bdef46cc5ba30935c8c71370ab1a71bc75b283.zip
glibc-b5bdef46cc5ba30935c8c71370ab1a71bc75b283.tar.gz
glibc-b5bdef46cc5ba30935c8c71370ab1a71bc75b283.tar.bz2
Suppress -Wmaybe-uninitialized only for GCC
Clang doesn't support -Wmaybe-uninitialized. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sam James <sam@gentoo.org>
-rw-r--r--nptl/tst-thread-setspecific.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-thread-setspecific.c b/nptl/tst-thread-setspecific.c
index 462c9f0..0008a8e 100644
--- a/nptl/tst-thread-setspecific.c
+++ b/nptl/tst-thread-setspecific.c
@@ -25,7 +25,7 @@
See BZ #27714. */
DIAG_PUSH_NEEDS_COMMENT;
-DIAG_IGNORE_NEEDS_COMMENT (6, "-Wmaybe-uninitialized");
+DIAG_IGNORE_NEEDS_COMMENT_GCC (6, "-Wmaybe-uninitialized");
DIAG_IGNORE_NEEDS_COMMENT (6, "-Wuninitialized");
static int