This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/19280] [2.22 Regression] gfortran.dg/bessel_6.f90


https://sourceware.org/bugzilla/show_bug.cgi?id=19280

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
commit 09220e66346dc111ee5b1c5d5bc346f4ca22872e
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Feb 26 21:49:19 2015 +0000

    Avoid uninitialized warnings in Bessel functions.

changes the precision of

---
#include <math.h>
#include <stdio.h>

int main() {
  float X = 475.78;
  int n = 30;

  float res = jnf( n, X);
  printf("res = %e\n", res);

  return 0;
}
---

When glibc is compiled with GCC 5.3 using -O3, the result changes
from

res = 3.962675e-04

to

res = 3.962656e-04

which causes abort in bessel_6.f90.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]