Landing: 4827ebe466dd

Project / Subsystem

gcc / fortran

Date

2026-08-24

Author

Jerry DeLisle

Commit

4827ebe466ddcb9c92e784526846806fa82a5a00

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
4827ebe466ddcb9c92e784526846806fa82a5a00
source_type
github
headline
Fortran: Allow VALUE attribute on array dummies per F2008
tldr
Fortran compiler now allows VALUE attribute on assumed-shape and explicit-shape array dummies.
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 permits the VALUE attribute on assumed-shape and explicit-shape array dummies, aligning with the Fortran 2008 standard. Previously, the compiler rejected these combinations, contrary to the relaxed rules. The change also refines error checking to distinguish between VALUE/DIMENSION and VALUE/CODIMENSION conflicts and ensures that VALUE array dummies are passed via a private deep copy.