[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr25960.c
blob9ab9a10a1a49742faef7088f08e35ae74c5abeab
1 /* { dg-do run { target { powerpc*-*-darwin* powerpc*-*-aix* rs6000-*-* powerpc*-*-linux* } } } */
2 /* { dg-options "-O2 -mlong-double-128" } */
4 extern void abort (void);
6 volatile long double l, m, n;
8 int
9 main (void)
11 l = __builtin_copysignl (0.0L, -1.0L);
12 m = __builtin_copysignl (0.0L, -1.0L);
13 n = l + m;
14 if (__builtin_copysignl (1.0L, n) >= 0.0L)
15 abort ();
16 return 0;