1 /* PR target/79487 */ 2 /* { dg-options "-O2" } */ 3 4 int main()5main () 6 { 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; 16 } 17