summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/spu/compare-dp.c
blob: cbc7663b967c42db2e3272ce5d2b4e045392a3c3 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-final { scan-assembler-not "__eqdf2" } } */

/* Ensure double precision comparisons are always inlined.  */

int test (double a, double b) __attribute__((noinline));
int test (double a, double b)
{
  return a == b;
}