Landing: 4cb4c35d75c5

Project / Subsystem

gcc / algol68

Date

2026-09-24

Author

Jose E. Marchesi

Commit

4cb4c35d75c5b1fec8b5271b844b1eecb40983e0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
algol68
patch_id
—
commit_hash
4cb4c35d75c5b1fec8b5271b844b1eecb40983e0
source_type
github
headline
a68: Fix regression in are_modes_equivalent
tldr
Corrects a regression in the Algol-68 compiler that caused incorrect mode equivalence checks.
author
Jose E. Marchesi
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • algol68
  • • compiler
  • • regression
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-09-24T00:00:00.000Z

This commit fixes a regression in the Algol-68 compiler’s mode equivalence checking. The function are_modes_equivalent was incorrectly comparing ‘INDICANTs’ as strings, leading to false negatives in mode equivalence. The fix involves changing this comparison to avoid string comparisons for INDICANTs, restoring correct behavior and passing a new test case.