From: Alexandre Oliva Date: Thu, 16 Jan 2025 23:19:38 +0000 (-0300) Subject: [testsuite] skip test on non-hosted libstdc++ [PR113994] X-Git-Tag: basepoints/gcc-16~2574 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=def933af3cb381b423ba15f331ed51f2d255898f;p=thirdparty%2Fgcc.git [testsuite] skip test on non-hosted libstdc++ [PR113994] Tests that include need to be skipped when libstdc++ is built in freestanding mode. for gcc/testsuite/ChangeLog PR rtl-optimization/113994 * g++.dg/torture/pr113994.C: Require hosted libstdc++. --- diff --git a/gcc/testsuite/g++.dg/torture/pr113994.C b/gcc/testsuite/g++.dg/torture/pr113994.C index c9c186d45ee7..bd749c4ada8a 100644 --- a/gcc/testsuite/g++.dg/torture/pr113994.C +++ b/gcc/testsuite/g++.dg/torture/pr113994.C @@ -1,5 +1,6 @@ // PR rtl-optimization/113994 // { dg-do run } +// { dg-skip-if "requires hosted libstdc++ for string" { ! hostedlib } } #include