]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] skip test on non-hosted libstdc++ [PR113994]
authorAlexandre Oliva <oliva@adacore.com>
Thu, 16 Jan 2025 23:19:38 +0000 (20:19 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 16 Jan 2025 23:19:38 +0000 (20:19 -0300)
Tests that include <string> 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++.

gcc/testsuite/g++.dg/torture/pr113994.C

index c9c186d45ee7d9fe769ca12489c69472006c1e2c..bd749c4ada8a6302cb2e11922abbd2acaf4dcf35 100644 (file)
@@ -1,5 +1,6 @@
 // PR rtl-optimization/113994
 // { dg-do run }
+// { dg-skip-if "requires hosted libstdc++ for string" { ! hostedlib } }
 
 #include <string>