diff --git a/gcc/testsuite/gcc.target/aarch64/torture/pr124491.c b/gcc/testsuite/gcc.target/aarch64/torture/pr124491.c new file mode 100644 index 00000000000..1fcad73b670 --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/torture/pr124491.c @@ -0,0 +1,6 @@ +/* { dg-do compile } */ +/* { dg-options "-march=armv8.2-a+sve -msve-vector-bits=256" } */ +#include +svint64_t foo(long x, long y) { + return svdupq_n_s64(x, y); +}