view gcc/testsuite/gcc.dg/pr84452.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
line wrap: on
line source

/* PR tree-optimization/84452 */
/* { dg-do compile } */
/* { dg-options "-Ofast" } */

double pow (double, double) __attribute__((simd));
double exp (double) __attribute__((simd));
extern double a[1024], b[1024];

void
foo (void)
{
  for (int i = 0; i < 1024; ++i)
    a[i] = pow (2.0, b[i]);
}