Landing: 70bc6136860c
Project / Subsystem
gcc / gcc
Date
2026-07-16
Author
Richard Biener
Commit
70bc6136860c2d0da9ea4f3d62a9e4f01d45518b
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 70bc6136860c2d0da9ea4f3d62a9e4f01d45518b
- source_type
- github
- headline
- Avoid complex gimple_build API calls.
- tldr
- Simplifies code in tree-switch-conversion.cc by using gimple_seq overloads for building GIMPLE statements.
- author
- Richard Biener
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gcc
- • compiler internals
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-16T00:00:00.000Z
This commit enhances the GCC compiler by simplifying its use of the GIMPLE statement building API. It replaces direct, complex calls to gimple_build with more convenient overloads of gimple_seq in the tree-switch-conversion.cc file. This change applies specifically to the gen_log2 and gen_pow2p functions, making the code cleaner and easier to maintain without altering its functionality.