[gcc(refs/users/aoliva/heads/testme)] testsuite: require hostedlib for pr123729.C
Alexandre Oliva
aoliva@gcc.gnu.org
Thu Feb 5 01:18:18 GMT 2026
https://gcc.gnu.org/g:5386cf1ed2a99b3c0cccfe90e30c793f855ee619
commit 5386cf1ed2a99b3c0cccfe90e30c793f855ee619
Author: Alexandre Oliva <oliva@adacore.com>
Date: Wed Feb 4 22:06:56 2026 -0300
testsuite: require hostedlib for pr123729.C
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.
Diff:
---
gcc/testsuite/g++.dg/torture/pr123729.C | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/g++.dg/torture/pr123729.C b/gcc/testsuite/g++.dg/torture/pr123729.C
index 1e12c680f299..6b964c8380af 100644
--- a/gcc/testsuite/g++.dg/torture/pr123729.C
+++ b/gcc/testsuite/g++.dg/torture/pr123729.C
@@ -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>
More information about the Gcc-cvs
mailing list