PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr84452.c
blob6e961cb04e8caf3ead5753e2608b9264d537efb9
1 /* PR tree-optimization/84452 */
2 /* { dg-do compile } */
3 /* { dg-options "-Ofast" } */
5 double pow (double, double) __attribute__((simd));
6 double exp (double) __attribute__((simd));
7 extern double a[1024], b[1024];
9 void
10 foo (void)
12 for (int i = 0; i < 1024; ++i)
13 a[i] = pow (2.0, b[i]);