Landing: f99426a60b8f

Project / Subsystem

gcc / fortran

Date

2026-08-24

Author

Jerry DeLisle

Commit

f99426a60b8f59b9b189efc0cff9047a47bda627

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
f99426a60b8f59b9b189efc0cff9047a47bda627
source_type
github
headline
Fortran: Allow VALUE on assumed-length CHARACTER dummies per F2008
tldr
Compiler now allows VALUE attribute on assumed-length CHARACTER dummies, per Fortran 2008.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • compiler
  • • standard
discussion_id_link
—
bugzilla_pr
—
date
2026-08-24T00:00:00.000Z

Gfortran now supports the VALUE attribute for Fortran CHARACTER dummy arguments with assumed or non-constant lengths, conforming to the Fortran 2008 standard. Previously, the compiler enforced a stricter rule from the Fortran 2003 standard, rejecting these cases. The change involves relaxing length requirements for VALUE dummies and ensuring a caller-side copy is made, scaled appropriately by character kind size.