From: Olivier Hainque Date: Tue, 15 Apr 2025 15:23:35 +0000 (+0200) Subject: Skip riscv/rvv/xtheadvector/pr116593.C if not hostedlib X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68b215414667e2836da62e913b6ed6b063284fd1;p=thirdparty%2Fgcc.git Skip riscv/rvv/xtheadvector/pr116593.C if not hostedlib As it requires C++ "vector" support, not available in freestanding environments. testsuite/ * g++.target/riscv/rvv/xtheadvector/pr116593.C: Skip if !hostedlib. --- diff --git a/gcc/testsuite/g++.target/riscv/rvv/xtheadvector/pr116593.C b/gcc/testsuite/g++.target/riscv/rvv/xtheadvector/pr116593.C index cef5bec13e3..a263c834584 100644 --- a/gcc/testsuite/g++.target/riscv/rvv/xtheadvector/pr116593.C +++ b/gcc/testsuite/g++.target/riscv/rvv/xtheadvector/pr116593.C @@ -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 } } } */