From: amodra Date: Tue, 27 Dec 2005 22:50:06 +0000 (+0000) Subject: * gcc.dg/torture/fp-int-convert-timode.c: Don't test IBM X-Git-Tag: upstream/4.9.2~56806 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f1913d7f1aa5b397c662ef6dc91bfd4afcd13a6;p=platform%2Fupstream%2Flinaro-gcc.git * gcc.dg/torture/fp-int-convert-timode.c: Don't test IBM Extended Double long doubles or repeat tests when long double is the same size as double. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109087 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5abbdad..3cd14bf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-12-28 Alan Modra + + * gcc.dg/torture/fp-int-convert-timode.c: Don't test IBM + Extended Double long doubles or repeat tests when long double is + the same size as double. + 2005-12-27 Kaveh R. Ghazi * g++.dg/rtti/tinfo1.C: Scan for ".global" also. diff --git a/gcc/testsuite/gcc.dg/torture/fp-int-convert-timode.c b/gcc/testsuite/gcc.dg/torture/fp-int-convert-timode.c index 244fc31..2b27153 100644 --- a/gcc/testsuite/gcc.dg/torture/fp-int-convert-timode.c +++ b/gcc/testsuite/gcc.dg/torture/fp-int-convert-timode.c @@ -11,6 +11,11 @@ main (void) { TEST_I_F(TItype, UTItype, float, FLT_MANT_DIG); TEST_I_F(TItype, UTItype, double, DBL_MANT_DIG); + /* Disable the long double tests when using IBM Extended Doubles. + They have variable precision, but constants calculated by gcc's + real.c assume fixed precision. */ +#if DBL_MANT_DIG != LDBL_MANT_DIG && LDBL_MANT_DIG != 106 TEST_I_F(TItype, UTItype, long double, LDBL_MANT_DIG); +#endif exit (0); }