Landing: 73e6f2de0e60
Project / Subsystem
gcc / fortran
Date
2026-07-16
Author
Jerry DeLisle
Commit
73e6f2de0e606bf312377ac2dafec3bbf095241a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- 73e6f2de0e606bf312377ac2dafec3bbf095241a
- source_type
- github
- headline
- Fortran: Implement list-directed read for hexadecimal floating-point formats.
- tldr
- Fortran's list-directed READ now supports hexadecimal floating-point input.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • gfortran
- • io
- • floating-point
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-16T00:00:00.000Z
This commit adds support for reading hexadecimal floating-point numbers using list-directed input in Fortran. Previously, the READ(*,*) statement could not correctly parse formats like 0x1.2p3. The implementation in libgfortran now parses these hexadecimal float formats and then delegates validation to the convert_real function. A new test case, EXformat_5.F90, has been added to verify this functionality.