summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c')
-rw-r--r--gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c
index bc5e5adebc1..4adff79078d 100644
--- a/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c
+++ b/gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c
@@ -6,14 +6,15 @@
#include "fp-int-convert.h"
#define FLOAT128_MANT_DIG 113
+#define FLOAT128_MAX_EXP 16384
int
main (void)
{
- TEST_I_F(signed char, unsigned char, __float128, FLOAT128_MANT_DIG);
- TEST_I_F(signed short, unsigned short, __float128, FLOAT128_MANT_DIG);
- TEST_I_F(signed int, unsigned int, __float128, FLOAT128_MANT_DIG);
- TEST_I_F(signed long, unsigned long, __float128, FLOAT128_MANT_DIG);
- TEST_I_F(signed long long, unsigned long long, __float128, FLOAT128_MANT_DIG);
+ TEST_I_F(signed char, unsigned char, __float128, FLOAT128_MANT_DIG, FLOAT128_MAX_EXP);
+ TEST_I_F(signed short, unsigned short, __float128, FLOAT128_MANT_DIG, FLOAT128_MAX_EXP);
+ TEST_I_F(signed int, unsigned int, __float128, FLOAT128_MANT_DIG, FLOAT128_MAX_EXP);
+ TEST_I_F(signed long, unsigned long, __float128, FLOAT128_MANT_DIG, FLOAT128_MAX_EXP);
+ TEST_I_F(signed long long, unsigned long long, __float128, FLOAT128_MANT_DIG, FLOAT128_MAX_EXP);
exit (0);
}