Landing: 95dbc32189ab

Project / Subsystem

gcc / fortran

Date

2026-07-01

Author

Paul Thomas

Commit

95dbc32189ab0433283f337b4b490bfcec0bd475

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
95dbc32189ab0433283f337b4b490bfcec0bd475
source_type
github
headline
Fortran: Fixes ASan issues in PDT testcases
tldr
Fortran compiler fixes ASan problems with parameterized derived types (PDTs) by adjusting memory allocation and type handling.
author
Paul Thomas
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • ASan
  • PDT
  • memory allocation
discussion_id_link
bugzilla_pr
date
2026-07-01T00:00:00.000Z

This commit addresses AddressSanitizer (ASan) issues encountered in Fortran’s parameterized derived type (PDT) test cases, as reported in PR 121972. It corrects logic for identifying PDT components, ensures calloc is used appropriately for types with parameterized or allocatable components, and refines the allocation process for parameterized components of class PDTs.