Landing: e407d1bc83ae
Project / Subsystem
gcc / tree-optimization
Date
2026-08-12
Author
Kael Andrew Alonzo Franco
Commit
e407d1bc83ae75d8a4ca0b0c04dcf0d843ce1d7a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- tree-optimization
- patch_id
- —
- commit_hash
- e407d1bc83ae75d8a4ca0b0c04dcf0d843ce1d7a
- source_type
- github
- headline
- Dead code removed from gimple-ssa-nonnull-compare.cc
- tldr
- Dead code eliminated from `gimple-ssa-nonnull-compare.cc` related to COND_EXPR handling.
- author
- Kael Andrew Alonzo Franco
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • dead code
- • tree-ssa
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-12T00:00:00.000Z
Redundant code has been removed from gimple-ssa-nonnull-compare.cc. This cleanup targets logic that was unreachable because COND_EXPR in this context is always either an SSA_NAME or a constant, making the specific code path unnecessary. The change simplifies the compiler’s null pointer comparison analysis.