summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-29 20:27:41 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-29 20:27:41 +0000
commit2675096e48d1ef9f42f2c53228aa8056a0bfa353 (patch)
treed407fcd3b280b3bac4ca0e3402c1ca361e758548 /gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c
parent339496f1c781c9119990172651d6b8fbe6258e68 (diff)
downloadgcc-2675096e48d1ef9f42f2c53228aa8056a0bfa353.tar.gz
gcc/
* Makefile.in (USER_H): Remove decfloat.h. * ginclude/decfloat.h: Delete, moving contents to ... * ginclude/float.h: Add support for decimal floating point, guarded by __STDC_WANT_DEC_FP__. gcc/testsuite/ * gcc.dg/dfp/dec-eval-method.c: Replace decfloat.h with float.h. * gcc.dg/dfp/decfloat-constants.c: Ditto. * gcc.dg/dfp/convert-dfp.c: Ditto. * gcc.dg/dfp/convert-int-saturate.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121308 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c')
-rw-r--r--gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c b/gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c
index 9aeb1d70c6e..aeaa4655ac4 100644
--- a/gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c
+++ b/gcc/testsuite/gcc.dg/dfp/convert-int-saturate.c
@@ -4,7 +4,8 @@
C99 6.3.1.4(1a) New.
Test integer saturation. */
-#include <decfloat.h>
+#define __STDC_WANT_DEC_FP__ 1
+#include <float.h>
#include <limits.h>
extern void abort (void);