From 85aee256a2c8d17ace0feaa5f431e2d43385d085 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 24 Nov 2013 11:11:15 +0100 Subject: [PATCH] float-exact-1.c: Use dg-add-options ieee. * gcc.dg/float-exact-1.c: Use dg-add-options ieee. [LDBL_MANT_DIG == 113]: Fix wrong variable name. From-SVN: r205324 --- gcc/testsuite/ChangeLog | 9 +++++++-- gcc/testsuite/gcc.dg/float-exact-1.c | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dc8909259e2..1ce3baefae7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-11-23 Uros Bizjak + + * gcc.dg/float-exact-1.c: Use dg-add-options ieee. + [LDBL_MANT_DIG == 113]: Fix wrong variable name. + 2013-11-23 Janus Weil PR fortran/59228 @@ -24,8 +29,8 @@ 2013-11-22 Martin Jambor * gcc.dg/pr10474.c: Also test ppc64. - * gcc.dg/ira-shrinkwrap-prep-1.c: Also tes ppc64, changed all ints - to longs. + * gcc.dg/ira-shrinkwrap-prep-1.c: Also test ppc64, chang all ints + to longs. * gcc.dg/ira-shrinkwrap-prep-2.c: Likewise. 2013-11-22 Michael Meissner diff --git a/gcc/testsuite/gcc.dg/float-exact-1.c b/gcc/testsuite/gcc.dg/float-exact-1.c index 7e8f3f153ae..d22e70b354b 100644 --- a/gcc/testsuite/gcc.dg/float-exact-1.c +++ b/gcc/testsuite/gcc.dg/float-exact-1.c @@ -2,6 +2,7 @@ floating-point contents expressed in decimal. PR 21718. */ /* { dg-do run } */ /* { dg-options "-w" } */ +/* { dg-add-options ieee } */ /* For float (if IEEE binary32), double (if IEEE binary64) and long double (if IEEE binary64, x86 extended or IEEE binary128) we test @@ -2292,7 +2293,7 @@ static const long double ld1c = 182358152808745703724362178773168996492870519432472065091133\ 11767578125001e-4966L; /* 0x1.8p-16494 */ -static const long double ld2ae = 0x1p-16494L, ld2be = 0x2p-16494L, ld1ce = 0x2p-16494L; +static const long double ld2ae = 0x1p-16494L, ld2be = 0x2p-16494L, ld2ce = 0x2p-16494L; static const long double ld2a = 9.7127626791570376663866584373414698287493540070520215145348\ 265837955593101861790565265072369149749103838172122152721795\