Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: gcc/gcc/testsuite/gcc.dg/dfp/convert-complex.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/dfp/convert-bfp-fold.c ('k') | gcc/gcc/testsuite/gcc.dg/dfp/convert-dfp-round.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/dfp/convert-bfp-fold.c ('k') | gcc/gcc/testsuite/gcc.dg/dfp/convert-dfp-round.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698