view gcc/testsuite/g++.dg/vect/simd-clone-7.cc @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

// PR middle-end/67335
// { dg-do compile }
// { dg-additional-options "-fopenmp-simd" }

#pragma omp declare simd notinbranch uniform(y)
float
bar (float x, float *y, int)
{
  return y[0] + y[1] * x;
}
// { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target { { aarch64*-*-* } && lp64 } } .-4 }