Landing: 092e382942ae
Project / Subsystem
gcc / match
Date
2026-08-02
Author
Kael Andrew Alonzo Franco
Commit
092e382942aeb24a949caa35512f8a4e613e234e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- match
- patch_id
- —
- commit_hash
- 092e382942aeb24a949caa35512f8a4e613e234e
- source_type
- github
- headline
- match: Combine four fors into one for.
- tldr
- Simplifies `genmatch` output by merging four `for` loops into one, reducing generated C++ code.
- author
- Kael Andrew Alonzo Franco
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • match
- • genmatch
- • code generation
- • optimization
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-02T00:00:00.000Z
This commit merges four for loops within the genmatch pattern definitions into a single for loop. This simplification reduces the amount of C++ code generated by genmatch, addressing PRs related to tree optimization and code size.