This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 fortran/67419] gfortran.dg/large_real_kind_2.F90 FAILs


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67419

--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #2)
> The result is identical for both the mainline libgfortran.so.3 and the
> bundled gcc 4.8 libgfortran.so.3, so this might well be a libm bug
> introduced in Solaris 12.

What if you compile the following C source (with "gcc -lm") and run it?

int main (void)
{
  long double x;
  x = 789.1356;
  __builtin_printf ("%.30Lg\n", x);
  __builtin_printf ("%.30Lg\n", __builtin_sqrtl(x));
}


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