]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Disable PCH for failing test [PR124568]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 20 Mar 2026 11:35:14 +0000 (11:35 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 20 Mar 2026 12:07:16 +0000 (12:07 +0000)
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.

libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/105580.cc

index e1ef4b1073961166241031d5851d6ab4dd597cd7..757e6b7e84406b872e2804da168c27ce20e6ec41 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-compile }
 // { dg-additional-options "-Wnull-dereference" }
+// { dg-add-options no_pch }
 
 #include <string>
 #include <sstream>