Landing: fee68dd1b484
Project / Subsystem
gcc / fortran
Date
2026-04-28
Author
Andre Vehreschild
Commit
fee68dd1b484d5885abb110f1e8753f113db5713
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- fee68dd1b484d5885abb110f1e8753f113db5713
- source_type
- github
- headline
- Fortran: Avoid symbol collisions with internal names
- tldr
- Fortran now prefixes internally generated symbols with two underscores to prevent naming conflicts.
- author
- Andre Vehreschild
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • symbol collision
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-28T00:00:00.000Z
This patch prevents naming collisions between Fortran symbols and internally generated symbols by prefixing internal symbols with two underscores. This change ensures that user-defined Fortran symbols do not inadvertently clash with symbols created internally by the compiler, avoiding potential compilation errors or unexpected behavior. A new test case is added to verify the fix.