Landing: b4bdc0d10519
Project / Subsystem
gcc / match
Date
2026-07-12
Author
Kael Andrew Alonzo Franco
Commit
b4bdc0d1051918efaa2a4c3bc131f4b8c06addf5
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- match
- patch_id
- —
- commit_hash
- b4bdc0d1051918efaa2a4c3bc131f4b8c06addf5
- source_type
- github
- headline
- match: Remove redundant build_zero_cst (type) [PR114009].
- tldr
- GCC match patterns simplified by removing a redundant function call for zero constants.
- 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 is simplified by removing a redundant call to build_zero_cst for generating zero constants. The integer_zerop predicate, specifically integer_zerop@2, now directly handles checks for zero values, reducing function call overhead.