Landing: d60817703596
Project / Subsystem
gcc / a68
Date
2026-06-08
Author
Jose E. Marchesi
Commit
d608177035964c1255873c5b544b5d4f690184b5
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- a68
- patch_id
- —
- commit_hash
- d608177035964c1255873c5b544b5d4f690184b5
- source_type
- github
- headline
- A68: Fix diagnostic strings in a68_attr_format_token
- tldr
- GCC's Algol 68 frontend now correctly uses descriptive text for attribute diagnostics, fixing a bug that showed keyword-related messages instead.
- author
- Jose E. Marchesi
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • algol68
- • diagnostics
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-08T00:00:00.000Z
This commit fixes an issue in the Algol 68 frontend where the a68_attr_format_token class used inappropriate diagnostic messages. Previously, it incorrectly retrieved diagnostic strings from a68_find_keyword_from_attribute, leading to misleading error messages. The fix changes it to use a68_attribute_name to provide the intended descriptive text for attributes, improving the clarity of compiler diagnostics for Algol 68 code.