Landing: 5d0a9050f3a1

Project / Subsystem

gcc / fortran

Date

2026-05-11

Author

Jerry DeLisle

Commit

5d0a9050f3a1c1f9f8e89188dec3d6f39c64a06a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
5d0a9050f3a1c1f9f8e89188dec3d6f39c64a06a
source_type
github
headline
Fortran: Implement EX format specifier for WRITE
tldr
The Fortran compiler now supports the EX format specifier for WRITE statements, outputting floating-point numbers in hexadecimal format.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • I/O
  • format specifier
  • floating-point
  • hexadecimal
discussion_id_link
bugzilla_pr
date
2026-05-11T00:00:00.000Z

The Fortran compiler now supports the EX format specifier for WRITE statements, as defined in Fortran 2018. This change adds the ability to output floating-point numbers in hexadecimal format for KIND=4, 8, 10, and 16 real numbers, if supported by the target architecture. Proper rounding of truncated hex float strings and the implementation of the READ functions are planned for future patches.