aarch64: Fix up aarch64_simd_clone_compute_vecsize_and_simdlen [PR99542]
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 16 Mar 2021 21:48:10 +0000 (21:48 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 16 Mar 2021 21:51:39 +0000 (21:51 +0000)
The gcc.dg/declare-simd.c test does not emit a warning with
-mabi=ilp32.

2021-03-16  Christophe Lyon  <christophe.lyon@linaro.org>

PR target/99542
gcc/testsuite/
* gcc.dg/declare-simd.c (fn2): Expect a warning only under lp64.

gcc/testsuite/gcc.dg/declare-simd.c

index 52796f6..2c8c1b7 100644 (file)
@@ -3,7 +3,7 @@
 
 #pragma omp declare simd linear (p2, p3)
 extern void fn2 (float p1, float *p2, float *p3);
-/* { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target aarch64*-*-* } .-1 } */
+/* { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target { { aarch64*-*-* } && lp64 } } .-1 } */
 
 float *a, *b;
 void fn1 (float *p1)