Landing: b6de3eb243c9

Project / Subsystem

gcc / fortran

Date

2026-07-01

Author

Jerry DeLisle

Commit

b6de3eb243c91b6503d95cc1942f55378ae6cbae

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
b6de3eb243c91b6503d95cc1942f55378ae6cbae
source_type
github
headline
Fortran: Fix character function invocation as stop code
tldr
Fortran compiler now correctly handles character functions used as STOP codes, per F2008 standard.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • compiler
  • standard conformance
discussion_id_link
bugzilla_pr
date
2026-07-01T00:00:00.000Z

The Fortran compiler (gfortran) has been fixed to correctly handle character functions invoked as stop codes, aligning with the F2008 standard. Previously, the compiler would reject valid character function invocations, leading to incorrect error checking. This patch adjusts the matching and resolving logic to allow these constructs and checks them later in the resolution phase.