1 /* PR tree-optimization/84687 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-Ofast" } */ 4 5 int a[64], b; 6 double pow (double, double); 7 __attribute__((__simd__)) double exp (double); 8 9 void foo(double x)10foo (double x) 11 { 12 int i; 13 double c = exp (x); 14 for (i = 0; i < 64; i++) 15 { 16 b = i; 17 a[i] = pow (12.0, b) * pow (c, i); 18 } 19 } 20