Landing: 7f549ea2b47a

Project / Subsystem

gcc / tree-optimization

Date

2026-08-13

Author

Kael Andrew Alonzo Franco

Commit

7f549ea2b47a709e9966ce608b92a44f3d2c2353

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
7f549ea2b47a709e9966ce608b92a44f3d2c2353
source_type
github
headline
Remove dead code from gimple.cc
tldr
Removes unreachable code in gimple.cc related to COND_EXPR.
author
Kael Andrew Alonzo Franco
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • dead code removal
  • • gcc
discussion_id_link
—
bugzilla_pr
—
date
2026-08-13T00:00:00.000Z

Dead code has been removed from gimple.cc, specifically within the gimple_could_trap_p_1 function. This cleanup addresses a situation where COND_EXPR, which is always a SSA_NAME or a constant, made a portion of the code unreachable. The change was tested on x86_64-pc-linux-gnu.