Fold ctz(-x) and ctz(abs(x)) as ctz(x) in match.pd.
[official-gcc.git] / gcc / testsuite / gcc.dg / dfp / pr79487.c
blobf76ddeeac37c42d1ce1862ae227dd907a90d37a1
1 /* PR target/79487 */
2 /* { dg-options "-O2" } */
4 int
5 main ()
7 _Decimal32 a = (-9223372036854775807LL - 1LL);
8 _Decimal32 b = -9.223372E+18DF;
9 if (b - a != 0.0DF)
10 __builtin_abort ();
11 _Decimal64 c = (-9223372036854775807LL - 1LL);
12 _Decimal64 d = -9.223372036854776E+18DD;
13 if (d - c != 0.0DD)
14 __builtin_abort ();
15 return 0;