Fortran: Prefer GCC internal macros to float.h in ISO_Fortran_binding.h.
authorTobias Burnus <tobias@codesourcery.com>
Fri, 17 Sep 2021 13:43:30 +0000 (15:43 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Fri, 17 Sep 2021 13:43:30 +0000 (15:43 +0200)
commit654187d05376f08667c8ba88309073e0345431c2
tree93c13ebe158c2b149c274a69dcad9bd872c22fdf
parent8593d2fcbb86a5a9102bbdfd36b88e184fc53258
Fortran: Prefer GCC internal macros to float.h in ISO_Fortran_binding.h.

2021-09-17  Sandra Loosemore  <sandra@codesourcery.com>
    Tobias Burnus  <tobias@codesourcery.com>

libgfortran/
* ISO_Fortran_binding.h: Only include float.h if the C compiler
doesn't have predefined __LDBL_* and __DBL_* macros. Handle
LDBL_MANT_DIG == 53 for FreeBSD.
libgfortran/ISO_Fortran_binding.h