Landing: 91c43fae4628
Project / Subsystem
gcc / match
Date
2026-08-19
Author
Kael Andrew Alonzo Franco
Commit
91c43fae4628e5deee81ec70dd9a63a1d7ae5700
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- match
- patch_id
- —
- commit_hash
- 91c43fae4628e5deee81ec70dd9a63a1d7ae5700
- source_type
- github
- headline
- Combine loops in genmatch for reduced C++ output
- tldr
- Simplifies genmatch by combining loops, reducing generated C++ code size.
- author
- Kael Andrew Alonzo Franco
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • code generation
- • refactor
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-19T00:00:00.000Z
This commit refactors the genmatch tool by combining four separate loops into a single loop. This optimization reduces the amount of generated C++ code, making the output more compact. Additionally, it ensures that the fourth loop is correctly enclosed within an INTEGRAL_TYPE_P check, resolving a syntactic issue with an extra closing parenthesis in the third loop.