summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr83034.c
blob: 875a3fe52ca645926ca0e88fe088f7ca5faf322b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR debug/83034 */
/* { dg-do compile } */
/* { dg-options "-funroll-loops -Ofast -g" } */

__attribute__((__simd__)) float expf (float);

void
foo (float *a, int x)
{
  for (; x; x++)
    a[x] = expf (x);
}