Patchwork [Fortran,committed] bessel_7.f90 decrease precision, simplify.c - minor clean up

login
register
mail settings
Submitter Tobias Burnus
Date Sept. 5, 2010, 7:32 p.m.
Message ID <4C83F04D.8090104@net-b.de>
Download mbox | patch
Permalink /patch/63858/
State New
Headers show

Comments

Tobias Burnus - Sept. 5, 2010, 7:32 p.m.
H.J. Lu wrote:
>>> FAIL: gfortran.dg/bessel_7.f90  -O0  execution test
> I got

Thanks for the output. I have now committed the attached patch as Rev. 
163880.

Tobias

Patch

Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog	(Revision 163879)
+++ gcc/testsuite/ChangeLog	(Arbeitskopie)
@@ -1,3 +1,7 @@ 
+2010-09-05  Tobias Burnus  <burnus@net-b.de>
+
+	* gfortran.dg/bessel_7.f90: Decrease required precision.
+
 2010-09-05  Hans-Peter Nilsson  <hp@axis.com>
 
 	PR testsuite/45545
Index: gcc/testsuite/gfortran.dg/bessel_7.f90
===================================================================
--- gcc/testsuite/gfortran.dg/bessel_7.f90	(Revision 163879)
+++ gcc/testsuite/gfortran.dg/bessel_7.f90	(Arbeitskopie)
@@ -8,7 +8,7 @@ 
 implicit none
 real,parameter :: values(*) = [0.0, 0.5, 1.0, 0.9, 1.8,2.0,3.0,4.0,4.25,8.0,34.53, 475.78] 
 real,parameter :: myeps(size(values)) = epsilon(0.0) &
-                  * [2, 3, 4, 5, 7, 2, 12, 4, 7, 6, 30, 168 ]
+                  * [2, 3, 4, 5, 8, 2, 12, 6, 7, 6, 30, 168 ]
 ! The following is sufficient for me - the values above are a bit
 ! more tolerant
 !                  * [0, 0, 0, 3, 3, 0, 9, 0, 2, 1, 22, 130 ]