Landing: 3e9d5caf6c7d
Project / Subsystem
gcc / algol68
Date
2026-09-22
Author
Jose E. Marchesi
Commit
3e9d5caf6c7d79d2e77c903477680149095c1b7b
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- algol68
- patch_id
- —
- commit_hash
- 3e9d5caf6c7d79d2e77c903477680149095c1b7b
- source_type
- github
- headline
- a68: Mark module prelude/postlude functions as artificial
- tldr
- Marks synthesized module prelude and postlude functions as artificial in Algol68.
- author
- Jose E. Marchesi
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • algol68
- • compiler internals
- • code generation
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-22T00:00:00.000Z
This commit marks the synthesized prelude and postlude functions for Algol68 modules as artificial. These functions are generated during the lowering of module-text. By setting DECL_ARTIFICIAL to 1, the compiler correctly identifies these as compiler-generated constructs rather than user-defined code. A new test case is added to verify this behavior.