[gcc r13-5454] libstdc++: Use dg-bogus in new test [PR108554]

Jonathan Wakely redi@gcc.gnu.org
Fri Jan 27 15:43:32 GMT 2023


https://gcc.gnu.org/g:3adf6dd508491d26e21840a8a70b016f876edd53

commit r13-5454-g3adf6dd508491d26e21840a8a70b016f876edd53
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jan 27 11:28:37 2023 +0000

    libstdc++: Use dg-bogus in new test [PR108554]
    
    libstdc++-v3/ChangeLog:
    
            PR libstdc++/108554
            * testsuite/23_containers/map/modifiers/108554.cc: Use dg-bogus.

Diff:
---
 libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc
index 7076682f4c9..811a479b382 100644
--- a/libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc
+++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc
@@ -4,6 +4,8 @@
 // PR libstdc++/108554
 // Warning from -Wnull-dereference when extracting a unique_ptr from a map.
 
+// { dg-bogus "null pointer dereference" "PR 108554" { target *-*-* } 0 }
+
 #include <map>
 #include <memory>
 #include <string>


More information about the Libstdc++-cvs mailing list