Landing: 02535f61b977

Project / Subsystem

gcc / gimple

Date

2026-09-20

Author

Filip Kastl

Commit

02535f61b977d5886b5e176406d0ff307dadbb15

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gimple
patch_id
—
commit_hash
02535f61b977d5886b5e176406d0ff307dadbb15
source_type
github
headline
Switch lowering bit test algorithm is optimal
tldr
Clarifies that the switch statement's bit test algorithm guarantees the minimum number of clusters.
author
Filip Kastl
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • documentation
  • • gimple
discussion_id_link
—
bugzilla_pr
—
date
2026-09-20T00:00:00.000Z

A comment in the switch lowering code has been updated to accurately reflect that the bit test finding algorithm is optimal. It now explicitly states that the algorithm achieves the fewest possible clusters, providing clearer information for developers maintaining this section of the compiler.