Landing: 1961ef641225

Project / Subsystem

gcc / fortran

Date

2026-07-15

Author

Mikael Morin

Commit

1961ef6412258898526629648b71fc5f21b3fa6d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
1961ef6412258898526629648b71fc5f21b3fa6d
source_type
github
headline
Fortran: Use setters for updating descriptor data.
tldr
Fortran compiler replaced manual MODIFY_EXPR for descriptor data updates with dedicated setters for improved code clarity and maintainability.
author
Mikael Morin
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • compiler
  • refactor
discussion_id_link
bugzilla_pr
date
2026-07-15T00:00:00.000Z

The Fortran compiler’s code generation for updating data within descriptors has been refactored. Instead of manually constructing a MODIFY_EXPR using the result of a data getter, this change utilizes dedicated setter functions in trans-expr.cc and trans-intrinsic.cc. This improves code clarity and maintainability by using the intended API for descriptor data manipulation.