public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90
@ 2011-09-22 17:35 hjl.tools at gmail dot com
  2011-09-22 18:03 ` [Bug libfortran/50487] " kargl at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2011-09-22 17:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487

             Bug #: 50487
           Summary: FAIL: gfortran.dg/bessel_6.f90
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


On Linux/x86-64, with glibc bug fix for

http://sourceware.org/bugzilla/show_bug.cgi?id=11589

which changes jn precision. I got

FAIL: gfortran.dg/bessel_6.f90  -O0  execution test
FAIL: gfortran.dg/bessel_6.f90  -O1  execution test
FAIL: gfortran.dg/bessel_6.f90  -O2  execution test
FAIL: gfortran.dg/bessel_6.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/bessel_6.f90  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/bessel_6.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/bessel_6.f90  -O3 -g  execution test
FAIL: gfortran.dg/bessel_6.f90  -Os  execution test

gfortran.dg/bessel_6.f90 compares scalar jnf vs bessel_jn_r4 in
libgfortran.  Since scalar jn is changed in glibc, it fails at

 YN for X =    34.529999      -- Epsilon =   1.19209290E-07
24  0.957530737E-02  0.957520306E-02    0.10E-06     91.3808822632  F  F
[1]    15522 abort (core dumped)  ./a.out


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libfortran/50487] FAIL: gfortran.dg/bessel_6.f90
  2011-09-22 17:35 [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90 hjl.tools at gmail dot com
@ 2011-09-22 18:03 ` kargl at gcc dot gnu.org
  2011-09-22 18:22 ` [Bug testsuite/50487] " hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-09-22 18:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org 2011-09-22 17:58:19 UTC ---
I've had this patch in my tree for nearly a year.  I'm surprised
that glibc developers took nearly a year to apply a form of my
libm patch to their tree.


Index: gcc/testsuite/gfortran.dg/bessel_6.f90
===================================================================
--- gcc/testsuite/gfortran.dg/bessel_6.f90      (revision 179023)
+++ gcc/testsuite/gfortran.dg/bessel_6.f90      (working copy)
@@ -12,7 +12,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, 7, 5, 6, 9, 12, 12, 7, 7, 8, 75, 15 ]
+                  * [2, 7, 5, 6, 9, 12, 12, 7, 7, 8, 92, 15 ]
 ! The following is sufficient for me - the values above are a bit
 ! more tolerant
 !                  * [0, 5, 3, 4, 6, 7, 7, 5, 5, 6, 66, 4 ]


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/50487] FAIL: gfortran.dg/bessel_6.f90
  2011-09-22 17:35 [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90 hjl.tools at gmail dot com
  2011-09-22 18:03 ` [Bug libfortran/50487] " kargl at gcc dot gnu.org
@ 2011-09-22 18:22 ` hjl.tools at gmail dot com
  2011-09-22 18:23 ` sgk at troutmask dot apl.washington.edu
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2011-09-22 18:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libfortran                  |testsuite
   Target Milestone|---                         |4.7.0

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-22 18:16:35 UTC ---
(In reply to comment #1)
> I've had this patch in my tree for nearly a year.  I'm surprised
> that glibc developers took nearly a year to apply a form of my
> libm patch to their tree.
> 
> 
> Index: gcc/testsuite/gfortran.dg/bessel_6.f90
> ===================================================================
> --- gcc/testsuite/gfortran.dg/bessel_6.f90      (revision 179023)
> +++ gcc/testsuite/gfortran.dg/bessel_6.f90      (working copy)
> @@ -12,7 +12,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, 7, 5, 6, 9, 12, 12, 7, 7, 8, 75, 15 ]
> +                  * [2, 7, 5, 6, 9, 12, 12, 7, 7, 8, 92, 15 ]
>  ! The following is sufficient for me - the values above are a bit
>  ! more tolerant
>  !                  * [0, 5, 3, 4, 6, 7, 7, 5, 5, 6, 66, 4 ]

It works for me.  Can you check it in?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/50487] FAIL: gfortran.dg/bessel_6.f90
  2011-09-22 17:35 [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90 hjl.tools at gmail dot com
  2011-09-22 18:03 ` [Bug libfortran/50487] " kargl at gcc dot gnu.org
  2011-09-22 18:22 ` [Bug testsuite/50487] " hjl.tools at gmail dot com
@ 2011-09-22 18:23 ` sgk at troutmask dot apl.washington.edu
  2011-09-22 18:31 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sgk at troutmask dot apl.washington.edu @ 2011-09-22 18:23 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487

--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-09-22 18:19:07 UTC ---
On Thu, Sep 22, 2011 at 06:16:35PM +0000, hjl.tools at gmail dot com wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487
> 
> H.J. Lu <hjl.tools at gmail dot com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>           Component|libfortran                  |testsuite
>    Target Milestone|---                         |4.7.0
> 
> --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-22 18:16:35 UTC ---
> (In reply to comment #1)
> > I've had this patch in my tree for nearly a year.  I'm surprised
> > that glibc developers took nearly a year to apply a form of my
> > libm patch to their tree.
> > 
> > 
> > Index: gcc/testsuite/gfortran.dg/bessel_6.f90
> > ===================================================================
> > --- gcc/testsuite/gfortran.dg/bessel_6.f90      (revision 179023)
> > +++ gcc/testsuite/gfortran.dg/bessel_6.f90      (working copy)
> > @@ -12,7 +12,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, 7, 5, 6, 9, 12, 12, 7, 7, 8, 75, 15 ]
> > +                  * [2, 7, 5, 6, 9, 12, 12, 7, 7, 8, 92, 15 ]
> >  ! The following is sufficient for me - the values above are a bit
> >  ! more tolerant
> >  !                  * [0, 5, 3, 4, 6, 7, 7, 5, 5, 6, 66, 4 ]
> 
> It works for me.  Can you check it in?
> 

Sure, do you want me to apply it to 4.5 and 4.6 as well.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/50487] FAIL: gfortran.dg/bessel_6.f90
  2011-09-22 17:35 [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-09-22 18:23 ` sgk at troutmask dot apl.washington.edu
@ 2011-09-22 18:31 ` hjl.tools at gmail dot com
  2011-09-22 18:36 ` kargl at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2011-09-22 18:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-22 18:22:25 UTC ---
(In reply to comment #3)
> > 
> > It works for me.  Can you check it in?
> > 
> 
> Sure, do you want me to apply it to 4.5 and 4.6 as well.

Yes, please.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/50487] FAIL: gfortran.dg/bessel_6.f90
  2011-09-22 17:35 [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90 hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2011-09-22 18:31 ` hjl.tools at gmail dot com
@ 2011-09-22 18:36 ` kargl at gcc dot gnu.org
  2011-09-22 18:36 ` kargl at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-09-22 18:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487

--- Comment #5 from kargl at gcc dot gnu.org 2011-09-22 18:28:18 UTC ---
Author: kargl
Date: Thu Sep 22 18:28:14 2011
New Revision: 179097

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179097
Log:
2011-09-22  Steven G. Kargl  <kargl@gcc.gnu.org>

    PR testsuite/50487
    * gfortran.dg/bessel_6.f90: Fix tolerance test.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/bessel_6.f90


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/50487] FAIL: gfortran.dg/bessel_6.f90
  2011-09-22 17:35 [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90 hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2011-09-22 18:36 ` kargl at gcc dot gnu.org
@ 2011-09-22 18:36 ` kargl at gcc dot gnu.org
  2011-09-22 18:42 ` kargl at gcc dot gnu.org
  2011-09-22 18:43 ` sgk at troutmask dot apl.washington.edu
  7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-09-22 18:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487

--- Comment #6 from kargl at gcc dot gnu.org 2011-09-22 18:30:42 UTC ---
Author: kargl
Date: Thu Sep 22 18:30:36 2011
New Revision: 179098

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179098
Log:
011-09-22  Steven G. Kargl  <kargl@gcc.gnu.org>

    PR testsuite/50487
    * gfortran.dg/bessel_6.f90: Fix tolerance test.

Modified:
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/bessel_6.f90


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/50487] FAIL: gfortran.dg/bessel_6.f90
  2011-09-22 17:35 [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90 hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2011-09-22 18:36 ` kargl at gcc dot gnu.org
@ 2011-09-22 18:42 ` kargl at gcc dot gnu.org
  2011-09-22 18:43 ` sgk at troutmask dot apl.washington.edu
  7 siblings, 0 replies; 9+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-09-22 18:42 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from kargl at gcc dot gnu.org 2011-09-22 18:35:30 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/50487] FAIL: gfortran.dg/bessel_6.f90
  2011-09-22 17:35 [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90 hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2011-09-22 18:42 ` kargl at gcc dot gnu.org
@ 2011-09-22 18:43 ` sgk at troutmask dot apl.washington.edu
  7 siblings, 0 replies; 9+ messages in thread
From: sgk at troutmask dot apl.washington.edu @ 2011-09-22 18:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487

--- Comment #7 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-09-22 18:35:09 UTC ---
On Thu, Sep 22, 2011 at 06:22:25PM +0000, hjl.tools at gmail dot com wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50487
> 
> --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-22 18:22:25 UTC ---
> (In reply to comment #3)
> > > 
> > > It works for me.  Can you check it in?
> > > 
> > 
> > Sure, do you want me to apply it to 4.5 and 4.6 as well.
> 
> Yes, please.
> 

Fixed on 4.6 and trunk.  bessel_6.f90 only exists on these branches.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-09-22 18:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-22 17:35 [Bug libfortran/50487] New: FAIL: gfortran.dg/bessel_6.f90 hjl.tools at gmail dot com
2011-09-22 18:03 ` [Bug libfortran/50487] " kargl at gcc dot gnu.org
2011-09-22 18:22 ` [Bug testsuite/50487] " hjl.tools at gmail dot com
2011-09-22 18:23 ` sgk at troutmask dot apl.washington.edu
2011-09-22 18:31 ` hjl.tools at gmail dot com
2011-09-22 18:36 ` kargl at gcc dot gnu.org
2011-09-22 18:36 ` kargl at gcc dot gnu.org
2011-09-22 18:42 ` kargl at gcc dot gnu.org
2011-09-22 18:43 ` sgk at troutmask dot apl.washington.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).