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

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