[committed] libstdc++: Add dg-bogus check to istreambuf_iterator/105580.cc [PR105580]

Tomasz Kamiński tkaminsk@redhat.com
Mon Mar 2 10:50:41 GMT 2026


	PR libstdc++/105580

libstdc++-v3/ChangeLog:

	* testsuite/24_iterators/istreambuf_iterator/105580.cc:
	Add dg-bogus check for warning.
---
I missed the part of the response, regarding using dg-bougs.
Will merge this 3 commits into one for backports.

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 87edf999ffc..e1ef4b10739 100644
--- a/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/105580.cc
+++ b/libstdc++-v3/testsuite/24_iterators/istreambuf_iterator/105580.cc
@@ -12,3 +12,4 @@ int main()
   return 0;
 }
 
+// { dg-bogus "null pointer dereference" "" { target *-*-* } 0 }
-- 
2.53.0



More information about the Libstdc++ mailing list