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

Unified Diff: gcc/gcc/testsuite/gcc.dg/dfp/operator-arith-fold.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/modes.c ('k') | gcc/gcc/testsuite/gcc.dg/dfp/operator-bitwise.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/operator-arith-fold.c
diff --git a/gcc/gcc/testsuite/gcc.dg/dfp/operator-arith-fold.c b/gcc/gcc/testsuite/gcc.dg/dfp/operator-arith-fold.c
deleted file mode 100644
index ad398d9b67c28c88b9e5568c1d9e19603436b01d..0000000000000000000000000000000000000000
--- a/gcc/gcc/testsuite/gcc.dg/dfp/operator-arith-fold.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* { dg-options "-std=gnu99 -O2" } */
-
-/* C99 6.5.5: Multiplicative operators.
- C99 6.5.6: Additive operators. */
-
-extern void link_error (void);
-
-int
-main ()
-{
- _Decimal32 d32_1, d32_2;
-
- /* Compare like-typed positive constants. */
- if (2.99df + 5.1df != 8.09df)
- link_error ();
-
- if (5.77df - 2.22dd != 3.55df)
- link_error ();
-
- if (2.0dl * 3.7dd * -2 != -14.8df)
- link_error ();
-
- if (.18df / -.2df + 1 != 1.e-1dd)
- link_error ();
-
- d32_1 = 3.0df;
- d32_2 = 1.0df;
-
- if (!__builtin_constant_p (d32_1 + 0.2df))
- link_error ();
-
- if (!__builtin_constant_p (1.0df / 3.0df))
- link_error ();
-
- if (!__builtin_constant_p (d32_2 / d32_1))
- link_error ();
-
- d32_2 = 2.0df;
- if (!__builtin_constant_p (d32_2 / d32_1))
- link_error ();
-
- return 0;
-}
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/dfp/modes.c ('k') | gcc/gcc/testsuite/gcc.dg/dfp/operator-bitwise.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698