Landing: 77650ddd3820
Project / Subsystem
gcc / match
Date
2026-07-12
Author
Kael Andrew Alonzo Franco
Commit
77650ddd3820d02a9d1ddb17c3af80b4eabaeca1
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- match
- patch_id
- —
- commit_hash
- 77650ddd3820d02a9d1ddb17c3af80b4eabaeca1
- source_type
- github
- headline
- match: Remove redundant build_one_cst (type) [PR104280].
- tldr
- GCC match patterns simplified by removing a redundant function call.
- author
- Kael Andrew Alonzo Franco
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • compiler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-12T00:00:00.000Z
GCC’s pattern matching system has been simplified by removing a redundant call to build_one_cst when generating constant values of type ‘one’. The integer_onep@0 predicate now suffices, reducing the overhead of pattern evaluation.