LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / fast-math-vect-pow-2.c
blobfdcc4a50cdbc033332176747904e10e22ed866bc
1 /* { dg-do compile } */
3 typedef double d_type;
4 struct
6 d_type x;
7 d_type y;
8 } S[100];
10 #define N 16
11 d_type foo (d_type t);
13 d_type
14 main1 ()
16 int i;
17 d_type t;
19 for (i = 0; i < N; i++)
21 t = (d_type) i / (d_type) 10;
22 S[5].x = t * t;
24 return S[5].x;
27 int
28 main (void)
30 d_type tmp = main1 ();