[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr99708-2.c
blobe6f9358e313a97639f66e8e241cbd1319c40044a
1 /* PR target/99708 */
2 /* { dg-do compile } */
4 #ifdef __SIZEOF_IBM128__
5 __ibm128 f = 1.0;
6 #endif
7 #ifdef __SIZEOF_IEEE128__
8 __ieee128 g = 1.0;
9 #endif
10 long double h = 1.0;
12 void
13 foo (void)
15 #ifdef __SIZEOF_IBM128__
16 f += 2.0;
17 #endif
18 #ifdef __SIZEOF_IEEE128__
19 g += 2.0;
20 #endif
21 h += 2.0;