Landing: d2c10df09208

Project / Subsystem

gcc / fortran

Date

2026-09-13

Author

Paul Thomas

Commit

d2c10df0920856a3ccf62900e2c8736fb0ada736

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
d2c10df0920856a3ccf62900e2c8736fb0ada736
source_type
github
headline
Simplify Fortran PDT component initializers.
tldr
Fortran compiler simplifies initialization of KIND components in PDT templates.
author
Paul Thomas
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-09-13T00:00:00.000Z

This commit simplifies the initialization of KIND components within Parameterized Derived Type (PDT) templates in the Fortran compiler. It enforces that KIND components must be integer constants and ensures any remaining component initializers are simplified for parameter substitution if necessary. A new test case is added to verify these changes.