On Mon, 29 Mar 2021 at 17:09, Jakub Jelinek via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> Hi!
>
> 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.
>
> Committed to trunk.
>

Thanks,

I pushed it to gcc-10 too.

Christophe

> 2021-03-29  Jakub Jelinek  <ja...@redhat.com>
>
>         PR fortran/93660
>         * gfortran.dg/gomp/declare-simd-coarray-lib.f90: Expect a mixed size
>         declare simd warning on aarch64.
>
> --- gcc/testsuite/gfortran.dg/gomp/declare-simd-coarray-lib.f90.jj      
> 2021-03-23 16:14:01.842299433 +0100
> +++ gcc/testsuite/gfortran.dg/gomp/declare-simd-coarray-lib.f90 2021-03-29 
> 17:01:29.885703123 +0200
> @@ -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]
>
>         Jakub
>

Reply via email to