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

Unified Diff: gcc/gcc/testsuite/gcc.dg/dfp/pr41049.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/pr39986.c ('k') | gcc/gcc/testsuite/gcc.dg/dfp/signbit-1.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/pr41049.c
diff --git a/gcc/gcc/testsuite/gcc.dg/dfp/pr41049.c b/gcc/gcc/testsuite/gcc.dg/dfp/pr41049.c
index 0b01438d607ca4bfd7fa56809fb1cf449a1ef1b5..6187481eca1b38f8a3122fc72670d6e3a53248ae 100644
--- a/gcc/gcc/testsuite/gcc.dg/dfp/pr41049.c
+++ b/gcc/gcc/testsuite/gcc.dg/dfp/pr41049.c
@@ -5,16 +5,7 @@
either compile time or runtime should not change the number of
trailing zeroes. */
-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
+#include "dfp-dbg.h"
#define PASTE2(A,B) A ## B
#define PASTE(A,B) PASTE2(A,B)
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/dfp/pr39986.c ('k') | gcc/gcc/testsuite/gcc.dg/dfp/signbit-1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698