Landing: 064601918219
Project / Subsystem
gcc / gcc/m2
Date
2026-09-07
Author
Gaius Mulley
Commit
064601918219d2ca414a49df5aa8c99083471e5e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/m2
- patch_id
- —
- commit_hash
- 064601918219d2ca414a49df5aa8c99083471e5e
- source_type
- github
- headline
- PR modula2/126847: Fix make install to avoid rebuilding cc1gm2
- tldr
- Build rules updated to prevent unnecessary recompilation of the Modula-2 compiler.
- author
- Gaius Mulley
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • build system
- • modula2
- • compiler
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-07T00:00:00.000Z
This commit addresses a build issue in the Modula-2 compiler (cc1gm2) where make install could trigger unnecessary recompilation of generated sources. The build rules have been rewritten to use order-only dependencies for generated files. This ensures that if header files change, the compiler is rebuilt, but simply rebuilding headers does not cause the generated sources themselves to be regenerated unnecessarily. This resolves PR126847.