Landing: b2c44478da13

Project / Subsystem

gcc / fortran

Date

2026-07-11

Author

Jerry DeLisle

Commit

b2c44478da133c8ac81bf3fdb67c1fdd8e38d61a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
b2c44478da133c8ac81bf3fdb67c1fdd8e38d61a
source_type
github
headline
Fortran: Fix compiler crash when recognizing RESULT attribute.
tldr
Fixes a compiler internal error (ICE) in function symbol handling related to Fortran's RESULT attribute.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • compiler
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-07-11T00:00:00.000Z

This commit resolves an internal compiler error (ICE) in the Fortran front-end’s gfc_get_symbol_decl function. It updates the symbol declaration resolution to correctly recognize the RESULT attribute, preventing the compiler from misinterpreting a function’s result variable as a host-associated symbol.