diff --git a/gcc/testsuite/g++.dg/other/sve_vcond_1_run.C b/gcc/testsuite/g++.dg/other/sve_vcond_1_run.C index d01745e68647..b542356dbf8d 100644 --- a/gcc/testsuite/g++.dg/other/sve_vcond_1_run.C +++ b/gcc/testsuite/g++.dg/other/sve_vcond_1_run.C @@ -1,6 +1,6 @@ /* { dg-do run { target aarch64_sve_hw } } */ -/* { dg-options "-O" } */ -/* { dg-options "-O -msve-vector-bits=256" { target aarch64_sve256_hw } } */ +/* { dg-options "-O -march=armv8.2-a+sve" } */ +/* { dg-options "-O -march=armv8.2-a+sve -msve-vector-bits=256" { target aarch64_sve256_hw } } */ #include "sve_vcond_1.c"