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

Unified Diff: gcc/gcc/testsuite/gcc.dg/dfp/convert-bfp-2.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-14.c ('k') | gcc/gcc/testsuite/gcc.dg/dfp/convert-bfp-5.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-bfp-2.c
diff --git a/gcc/gcc/testsuite/gcc.dg/dfp/convert-bfp-2.c b/gcc/gcc/testsuite/gcc.dg/dfp/convert-bfp-2.c
deleted file mode 100644
index 282735120053bb6d7b83bf35aecdbea5de846a6e..0000000000000000000000000000000000000000
--- a/gcc/gcc/testsuite/gcc.dg/dfp/convert-bfp-2.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* { dg-options "-std=gnu99" } */
-
-/* This test assumes IEEE float and double. It also tests long double
- but makes no assumption about its size or range of values. */
-
-#include "convert.h"
-
-volatile _Decimal32 sd;
-volatile _Decimal64 dd;
-volatile _Decimal128 td;
-volatile float sf;
-volatile double df;
-volatile long double tf; /* might actually be df or xf, doesn't matter */
-
-CONVERT_VALID_ALL (t1, 0.0, 0.)
-CONVERT_VALID_ALL (t2, 1.0, 0.)
-CONVERT_VALID_ALL (t3, -11.5, 0.)
-CONVERT_VALID_ALL (t4, 7.0, 0.1e-14)
-CONVERT_VALID_ALL (t5, -7.0, 0.1e-14)
-CONVERT_VALID_ALL (t6, 999999., 0.)
-CONVERT_VALID_ALL (t7, -999999., 0.)
-
-int
-main ()
-{
- CALL_VALID_ALL (t1)
- CALL_VALID_ALL (t2)
- CALL_VALID_ALL (t3)
- CALL_VALID_ALL (t4)
- CALL_VALID_ALL (t5)
- CALL_VALID_ALL (t6)
- CALL_VALID_ALL (t7)
-
- if (failcnt != 0)
- abort ();
- return 0;
-}
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/dfp/convert-bfp-14.c ('k') | gcc/gcc/testsuite/gcc.dg/dfp/convert-bfp-5.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698