summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/iftrap-3.c
blob: 52278e145dbcfd81c370fc25ce7976b4015701bc (plain)
1
2
3
4
/* Check that the conditional_trap pattern handles floating-point
   comparisons correctly.  */
void f1 (float x, float y) { if (x == y) __builtin_trap (); }
void f2 (double x, double y) { if (x == y) __builtin_trap (); }