Index: gcc/gcc/testsuite/gcc.dg/dfp/convert-complex.c |
diff --git a/gcc/gcc/testsuite/gcc.dg/dfp/convert-complex.c b/gcc/gcc/testsuite/gcc.dg/dfp/convert-complex.c |
index 0083b0918800f1df6efefe0b309ab49cedb6642b..76eef87cb7c24e3869de9e9c21dd14662c1b589e 100644 |
--- a/gcc/gcc/testsuite/gcc.dg/dfp/convert-complex.c |
+++ b/gcc/gcc/testsuite/gcc.dg/dfp/convert-complex.c |
@@ -3,17 +3,7 @@ |
/* N1150 5.3 Conversions between decimal floating and complex. |
C99 6.3.1.7 Conversions, arithmetic operands, real and complex. */ |
-extern void abort(void); |
-static int failcnt; |
- |
-/* Support compiling the test to report individual failures; default is |
- to abort as soon as a check fails. */ |
-#ifdef DBG |
-#include <stdio.h> |
-#define FAILURE { printf ("failed at line %d\n", __LINE__); failcnt++; } |
-#else |
-#define FAILURE abort (); |
-#endif |
+#include "dfp-dbg.h" |
int |
main () |
@@ -124,8 +114,5 @@ main () |
if (d128 != 0.0625DL) |
FAILURE |
- if (failcnt != 0) |
- abort (); |
- |
- return 0; |
+ FINISH |
} |