summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dfp/pr52140.c
blob: ca878f2d87da4ee0359d93f78bd40a781a6670fd (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O1" } */

/* This used to result in an ICE.  */

int
foo (_Decimal64 x, _Decimal64 y)
{
  return (x < y) || (x > y);
}