Landing: ab3c778a2530
Project / Subsystem
gcc / gcc/fortran
Date
2026-10-02
Author
Harald Anlauf
Commit
ab3c778a2530b25713002ba78af65334174deb3d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fortran
- patch_id
- —
- commit_hash
- ab3c778a2530b25713002ba78af65334174deb3d
- source_type
- github
- headline
- Fortran parser recovers from invalid inquiry references
- tldr
- Fortran parser handles invalid inquiry references more gracefully and fixes memory leaks.
- author
- Harald Anlauf
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • parser
- • error handling
- • memory leak
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-10-02T00:00:00.000Z
The Fortran compiler now replaces an assertion with a failure return value when encountering invalid inquiry references during parsing. This change improves error recovery and also addresses minor memory leaks in the frontend’s error return path. A new test case is included to verify the fix.