testsuite: Expect a warning on aarch64 for declare-simd-coarray-lib.f90 [PR93660]

aarch64 currently doesn't support declare simd where the return value and arguments
have different sizes and warns about that case.  This change adds a dg-warning
for that case like various other tests have already.

2021-03-29  Jakub Jelinek  <jakub@redhat.com>

	PR fortran/93660
	* gfortran.dg/gomp/declare-simd-coarray-lib.f90: Expect a mixed size
	declare simd warning on aarch64.
This commit is contained in:
Jakub Jelinek 2021-03-29 17:05:47 +02:00
parent e19afa0645
commit afa8c67eb9

View file

@ -5,7 +5,7 @@
! Failed as TREE_TYPE(fndecl) did not include the
! hidden caf_token/caf_offset arguments.
!
integer function f(x)
integer function f(x) ! { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target aarch64*-*-* } }
integer :: x[*]
!$omp declare simd
f = x[1]