Landing: 9baaca2adeca

Project / Subsystem

gcc / gcc/tree-optimization

Date

2026-08-05

Author

Richard Biener

Commit

9baaca2adeca178edf8c0816ef328dba1cf270bc

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/tree-optimization
patch_id
—
commit_hash
9baaca2adeca178edf8c0816ef328dba1cf270bc
source_type
github
headline
Fix bitfield rounding in get_inner_reference_aff.
tldr
Correctly handles bitfield precision offsets and sizes for affine transformations.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-05T00:00:00.000Z

The get_inner_reference_aff function has been corrected to properly handle bit precision offsets and sizes when calculating affine transformations. Previously, it failed to round these values correctly. This change adjusts the rounding logic to ensure more accurate computations, accompanied by a new test case to verify the fix.