Blame SOURCES/0018-Use-CXX11-ABI.patch

9fbc78
diff --git a/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object-3.C b/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object-3.C
9fbc78
index 47f97dcb636..66f07aaa749 100644
9fbc78
--- a/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object-3.C
9fbc78
+++ b/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object-3.C
9fbc78
@@ -4,6 +4,8 @@
9fbc78
    { dg-do compile { target c++11 } }
9fbc78
    { dg-options "-O2 -Wall" } */
9fbc78
 
9fbc78
+#define _GLIBCXX_USE_CXX11_ABI 1
9fbc78
+
9fbc78
 #include <memory>
9fbc78
 #include <string>
9fbc78
 
5e6e6d
diff --git a/gcc/testsuite/g++.dg/torture/pr106922.C b/gcc/testsuite/g++.dg/torture/pr106922.C
5e6e6d
index 046fc6cce76..4214a31f276 100644
5e6e6d
--- a/gcc/testsuite/g++.dg/torture/pr106922.C
5e6e6d
+++ b/gcc/testsuite/g++.dg/torture/pr106922.C
5e6e6d
@@ -4,6 +4,8 @@
5e6e6d
 // -O1 doesn't iterate VN and thus has bogus uninit diagnostics
5e6e6d
 // { dg-skip-if "" { *-*-* } { "-O1" } { "" } }
5e6e6d
 
5e6e6d
+#define _GLIBCXX_USE_CXX11_ABI 1
5e6e6d
+
5e6e6d
 #include <vector>
5e6e6d
 
5e6e6d
 #include <optional>