about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-09 15:51:50 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-17 16:12:10 -0300
commit279ce840452e6da645579ca4169c0f0c25cac47f (patch)
tree734b7cfa0aae3a0bc5b5ccaa1d586490622d5ae9 /nptl
parentd2765f0fa2c6292ad25cfc6a74b91aa7ec0ea01a (diff)
downloadglibc-279ce840452e6da645579ca4169c0f0c25cac47f.tar.gz
glibc-279ce840452e6da645579ca4169c0f0c25cac47f.tar.xz
glibc-279ce840452e6da645579ca4169c0f0c25cac47f.zip
Suppress -Wmaybe-uninitialized only for gcc
The warning is not supported by clang.
Diffstat (limited to 'nptl')
-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 462c9f0d2b..0008a8ee2f 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