summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dfp/dfp-dbg.h
blob: 253a9d05f57f7a238b34a92dded90a39f2661c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#define EXTERN extern

int failures;

#ifdef DBG
extern int printf (const char *, ...);
#define FAILURE { printf ("failed at line %d\n", __LINE__); failures++; }
#define FINISH if (failures != 0) __builtin_abort (); return 0;
#else
#define FAILURE __builtin_abort ();
#define FINISH return 0;
#endif