https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126407
--- Comment #6 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:799c1184b136c5a7e3e3473c02164c3c6f2525f9 commit r17-7048-g799c1184b136c5a7e3e3473c02164c3c6f2525f9 Author: John David Anglin <[email protected]> Date: Wed Dec 2 19:31:03 2026 -0500 From: Jerry DeLisle <[email protected]> libgfortran: Add hexadecimal float fallback for HP-UX [PR126407] HP-UX's strtod family predates C99 and does not parse hexadecimal floating-point literals (e.g. 0x1.8p3). Provide a fallback parser for hexadecimal floating-point strings on __hpux__. libgfortran/ChangeLog: PR libfortran/126407 * io/read.c (GFC_STRTOD_NEEDS_HEX_FALLBACK): Define on __hpux__. (is_hex_float, hex_strtold, hex_convert_real): New functions. (convert_real): Use hex_convert_real for hexadecimal floating-point strings when GFC_STRTOD_NEEDS_HEX_FALLBACK is defined.
