]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Skip riscv/rvv/xtheadvector/pr116593.C if not hostedlib
authorOlivier Hainque <hainque@adacore.com>
Tue, 15 Apr 2025 15:23:35 +0000 (17:23 +0200)
committerOlivier Hainque <hainque@adacore.com>
Mon, 27 Oct 2025 15:12:37 +0000 (15:12 +0000)
As it requires C++ "vector" support, not available in freestanding
environments.

testsuite/
* g++.target/riscv/rvv/xtheadvector/pr116593.C: Skip if !hostedlib.

gcc/testsuite/g++.target/riscv/rvv/xtheadvector/pr116593.C

index cef5bec13e34873762c561a1428d42a71d54be2e..a263c834584be026ddb124007bc02f9bea846793 100644 (file)
@@ -1,5 +1,6 @@
 /* Test that we do not have ice when compile */
 /* { dg-do compile } */
+/* { dg-skip-if "requires hosted libstdc++ for vector" { ! hostedlib } } */
 /* { dg-options "-march=rv32gc_zfh_xtheadvector -mabi=ilp32d -O2" { target { rv32 } } } */
 /* { dg-options "-march=rv64gc_zfh_xtheadvector -mabi=lp64d -O2" { target { rv64 } } } */