Landing: 467a2e2a2097
Project / Subsystem
gcc / gcc
Date
2026-08-05
Author
Aldy Hernandez
Commit
467a2e2a2097583f24f5c5ef2bba4a16dc6cb8c4
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 467a2e2a2097583f24f5c5ef2bba4a16dc6cb8c4
- source_type
- github
- headline
- Remove unused nonzero_p function from value ranges.
- tldr
- The `nonzero_p` function has been removed as all its call sites now use `contains_zero_p` or specific checks.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • refactor
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-05T00:00:00.000Z
The nonzero_p function, which checked if a value range excluded zero, has been removed from the GCC compiler’s value range analysis. All known call sites have been updated to use the more precise contains_zero_p function or other specialized checks. This cleanup simplifies the code and removes an obsolete function.