[gcc r14-12464] libstdc++: Disable PCH for failing test [PR124568]

Jonathan Wakely redi@gcc.gnu.org
Fri Mar 20 12:28:44 GMT 2026


https://gcc.gnu.org/g:43b553960c9fbd95fd73f8b76051a72146617659

commit r14-12464-g43b553960c9fbd95fd73f8b76051a72146617659
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Mar 20 11:35:14 2026 +0000

    libstdc++: Disable PCH for failing test [PR124568]
    
    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.
    
    (cherry picked from commit 017e0514a1d7f799d2fa8cfcf29d627e024297a8)

Diff:
---
 libstdc++-v3/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>


More information about the Libstdc++-cvs mailing list