Landing: 35e9b05f1ac3

Project / Subsystem

gcc / ifcvt

Date

2026-07-22

Author

Kyrylo Tkachov

Commit

35e9b05f1ac3fbdd3dd579a05923eb5d6847659d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ifcvt
patch_id
—
commit_hash
35e9b05f1ac3fbdd3dd579a05923eb5d6847659d
source_type
github
headline
ifcvt: Minor cleanups in conditional arithmetic and block jumps
tldr
Improves type safety and logic clarity in two helper functions within the ifcvt subsystem.
author
Kyrylo Tkachov
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • ifcvt
  • • refactor
  • • cleanup
discussion_id_link
—
bugzilla_pr
—
date
2026-07-22T00:00:00.000Z

Two minor cleanups have been applied within the ifcvt subsystem. The noce_try_cond_arith function’s return type has been changed from int to bool, aligning it with its siblings and removing reliance on implicit type conversions. Additionally, block_jumps_and_fallthru now uses logical operators instead of bitwise ones for testing boolean flags, correcting a potential logic error and improving clarity. These changes are purely stylistic and do not alter functionality.