blob: f76ddeeac37c42d1ce1862ae227dd907a90d37a1 [file] [log] [blame]
/* PR target/79487 */
/* { dg-options "-O2" } */
int
main ()
{
_Decimal32 a = (-9223372036854775807LL - 1LL);
_Decimal32 b = -9.223372E+18DF;
if (b - a != 0.0DF)
__builtin_abort ();
_Decimal64 c = (-9223372036854775807LL - 1LL);
_Decimal64 d = -9.223372036854776E+18DD;
if (d - c != 0.0DD)
__builtin_abort ();
return 0;
}