Landing: ad428b981ac3

Project / Subsystem

gcc / fortran

Date

2026-10-02

Author

Mikael Morin

Commit

ad428b981ac3bc113f3cbb4041126c3c1fef4709

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
ad428b981ac3bc113f3cbb4041126c3c1fef4709
source_type
github
headline
fortran: Ignore attributes of class containers's _data component
tldr
Fixes Fortran compiler to correctly handle attributes for class containers' _data component.
author
Mikael Morin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • compiler
  • • attributes
discussion_id_link
—
bugzilla_pr
—
date
2026-10-02T00:00:00.000Z

The Fortran compiler now correctly handles attributes for class containers by ignoring the implicit _data component’s attributes. Previously, the compiler might miss or incorrectly report attributes if the last component reference was to _data, leading to incorrect error messages or missed checks for polymorphic function results and pointer assignments.