annotate gcc/testsuite/c-c++-common/dfp/dfp-dbg.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 #ifdef __cplusplus
kono
parents:
diff changeset
2 typedef float _Decimal32 __attribute__((mode(SD)));
kono
parents:
diff changeset
3 typedef float _Decimal64 __attribute__((mode(DD)));
kono
parents:
diff changeset
4 typedef float _Decimal128 __attribute__((mode(TD)));
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 #define EXTERN extern "C"
kono
parents:
diff changeset
7 #else
kono
parents:
diff changeset
8 #define EXTERN extern
kono
parents:
diff changeset
9 #endif
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 int failures;
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 #ifdef DBG
kono
parents:
diff changeset
14 extern int printf (const char *, ...);
kono
parents:
diff changeset
15 #define FAILURE { printf ("failed at line %d\n", __LINE__); failures++; }
kono
parents:
diff changeset
16 #define FINISH if (failures != 0) __builtin_abort (); return 0;
kono
parents:
diff changeset
17 #else
kono
parents:
diff changeset
18 #define FAILURE __builtin_abort ();
kono
parents:
diff changeset
19 #define FINISH return 0;
kono
parents:
diff changeset
20 #endif