Landing: 092179f9bfbc

Project / Subsystem

gcc / algol68

Date

2026-09-21

Author

Jose E. Marchesi

Commit

092179f9bfbc2dcb2656b7e62e8ca344154d4cbd

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
algol68
patch_id
—
commit_hash
092179f9bfbc2dcb2656b7e62e8ca344154d4cbd
source_type
github
headline
a68: Resolve mode equivalences for imported publicized identifiers.
tldr
Algol68 compiler correctly resolves mode equivalences for imported identifiers, fixing a bug in module interaction.
author
Jose E. Marchesi
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • algol68
  • • compiler
  • • modules
discussion_id_link
—
bugzilla_pr
—
date
2026-09-21T00:00:00.000Z

This change addresses a bug in the Algol68 compiler where imported modes from ‘revelations’ were not correctly processed if they were equivalent to standard modes. Due to how these imported identifiers were synthesized with dummy nodes, the compute_derived_modes pass didn’t handle their equivalences, which are normally compared by pointer. The fix ensures that mode equivalences are resolved for these imported identifiers, allowing the compiler to correctly understand and use them, especially when interacting with modules.