Landing: b7e0a2cdd6a9

Project / Subsystem

gcc / a68

Date

2026-09-19

Author

Jose E. Marchesi

Commit

b7e0a2cdd6a9376d6a7db0bdbbe9d8a0fd525cf7

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
a68
patch_id
—
commit_hash
b7e0a2cdd6a9376d6a7db0bdbbe9d8a0fd525cf7
source_type
github
headline
a68: Factor origin handling in sprops into make_origin
tldr
Refactors Algol68 compiler's static property handling for better code organization.
author
Jose E. Marchesi
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • algol68
  • • compiler
  • • refactor
discussion_id_link
—
bugzilla_pr
—
date
2026-09-19T00:00:00.000Z

This commit refactors the Algol68 compiler’s static property (sprops) handling by consolidating the initialization of origin properties into a new make_origin function. This function takes a parse node and initializes the properties of a new origin. The sprops_for_* functions are updated to call make_origin, removing redundant code and improving maintainability within the a68-parser-sprops.cc file.