Landing: 38bc78f59348

Project / Subsystem

gcc / gcc/tree-optimization

Date

2026-08-06

Author

Kael Andrew Alonzo Franco

Commit

38bc78f593488bb1a28ca6b20e538f378113392d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/tree-optimization
patch_id
—
commit_hash
38bc78f593488bb1a28ca6b20e538f378113392d
source_type
github
headline
Remove dead code in tree-ssa-strlen.cc
tldr
Cleans up dead code related to conditional expressions in strlen optimization.
author
Kael Andrew Alonzo Franco
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • cleanup
  • • ssa
discussion_id_link
—
bugzilla_pr
—
date
2026-08-06T00:00:00.000Z

This commit removes a section of dead code from tree-ssa-strlen.cc. The removed code was associated with handling COND_EXPR which, in this context, is always either an SSA_NAME or a constant, making the original conditional logic unnecessary. This simplifies the optimization pass.