https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126305
--- Comment #21 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by John David Anglin <[email protected]>: https://gcc.gnu.org/g:7c89181457dafe48203c0ce31a429c3e887dd378 commit r17-2676-g7c89181457dafe48203c0ce31a429c3e887dd378 Author: John David Anglin <[email protected]> Date: Thu Jul 23 22:06:50 2026 -0400 libgfortran: Add additional long double math support for hppa64-hpux* On hppa-hpux, we lack support for C99 math routines but the long double type conforms to the standard 16-byte IEEE (IEC 60559) specification. This allows us to use the quad routines from libquadmath. 2026-07-22 John David Anglin <[email protected]> libgfortran/ChangeLog: PR libfortran/126305 * c99_protos.h (acosl, acoshl, asinl, asinhl,atan2l, atanl, atanhl, ceill, cosl, coshl, expl, hypotl, logl, sinl, sinhl, sqrtl, tanl, tanhl, truncl, nextafterl, powl, erfl, erfcl): Add declarations. * configure.ac (powl, erfl): Add GCC_CHECK_MATH_FUNCs. * configure: Regenerate. * config.h.in: Regenerate. * intrinsics/c99_functions.c: Include math_imp.h. Move code to manipulate the floating-point type to math_imp.h. (erfl, erfcl, acosl, acoshl, asinl, asinhl, atan2l, atanl, atanhl, ceill, cosl, coshl, expl, floorl, fmodl, hypotl, logl, sinl, sinhl, sqrtl, tanl, tanhl, truncl, nextafterl, powl, log10l): Implement. (frexpl): Move code to intrinsics/frexpl_16.c. (scalbnl): Move code to intrinsics/scalbnl_16.c. * intrinsics/ceill_16.c: New. * intrinsics/floorl_16.c: New. * intrinsics/frexpl_16.c: New. * intrinsics/math_imp.h: New. * intrinsics/nextafterl_16.c: New. * intrinsics/scalbnl_16.c: New. * intrinsics/truncl_16.c: New. * libgfortran.h (USE_LIBQUADLIB): Define on hppa-hpux.
