The diagnostic pragmas that suppress the warning in this test don't seem
to work with PCH. Let's just disable PCH for that test.
libstdc++-v3/ChangeLog:
PR libstdc++/124568
* testsuite/24_iterators/istreambuf_iterator/105580.cc: Add
no_pch option.
---
Tested x86_64-linux and powerpc64le-linux.
Pushed to trunk.
.../testsuite/24_iterators/istreambuf_iterator/105580.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/105580.cc
b/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/105580.cc
index e1ef4b107396..757e6b7e8440 100644
--- a/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/105580.cc
+++ b/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/105580.cc
@@ -1,5 +1,6 @@
// { dg-compile }
// { dg-additional-options "-Wnull-dereference" }
+// { dg-add-options no_pch }
#include <string>
#include <sstream>
--
2.53.0