Landing: 6fea108d4725

Project / Subsystem

gcc / gcc/expmed

Date

2026-09-11

Author

Robin Dapp

Commit

6fea108d4725f1aa79ce3acd9b6933da003d11a4

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/expmed
patch_id
—
commit_hash
6fea108d4725f1aa79ce3acd9b6933da003d11a4
source_type
github
headline
Use store_bit_field for unsplittable targets
tldr
Fixes an ICE in extract_integral_bit_field by using store_bit_field for unsplittable targets, improving robustness.
author
Robin Dapp
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • compiler-error
discussion_id_link
—
bugzilla_pr
—
date
2026-09-11T00:00:00.000Z

This change modifies extract_integral_bit_field to use store_bit_field when a target cannot be split into subregisters. This prevents an ICE that could occur after recent changes to regmode_natural_size. For RISC-V, this may introduce a spill per iteration, which is noted as a potential area for future mitigation.