Landing: 52a1475091a0

Project / Subsystem

gcc / fortran

Date

2026-07-02

Author

Mikael Morin

Commit

52a1475091a059eeccbcc042560977f666532040

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
52a1475091a059eeccbcc042560977f666532040
source_type
github
headline
fortran: array descriptor: Move descriptor copy function [PR122521]
tldr
Fortran array descriptor copy function moved to a central location.
author
Mikael Morin
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • refactor
  • compiler internals
discussion_id_link
bugzilla_pr
date
2026-07-02T00:00:00.000Z

The copy_descriptor function, used for copying array descriptors in the Fortran front-end, has been moved from trans-stmt.cc to trans-descriptor.cc and renamed to gfc_copy_descriptor. This change consolidates descriptor handling logic into trans-descriptor.cc and updates the call site in trans_associate_var. This refactoring is part of addressing PR122521.