]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: require hostedlib for pr123729.C
authorAlexandre Oliva <oliva@adacore.com>
Thu, 5 Feb 2026 02:53:04 +0000 (23:53 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 5 Feb 2026 02:54:30 +0000 (23:54 -0300)
This testcase uses features not available when libstdc++ doesn't have
the hostedlib bits enabled.

for  gcc/testsuite/ChangeLog

PR tree-optimization/123729
* g++.dg/torture/pr123729.C: Require hostedlib.

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

index 1e12c680f299e7652d2d3765c80462d03f5b2679..6b964c8380af718de0c804f8298f5019d4e4155a 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile }
 // { dg-additional-options "-std=gnu++20" }
+// { dg-skip-if "requires hosted libstdc++ for csetjmp and iostream" { ! hostedlib } }
 
 #include <csetjmp>
 #include <iostream>