https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126650

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:9baaca2adeca178edf8c0816ef328dba1cf270bc

commit r17-2981-g9baaca2adeca178edf8c0816ef328dba1cf270bc
Author: Richard Biener <[email protected]>
Date:   Wed Aug 5 10:31:47 2026 +0200

    tree-optimization/126650 - get_inner_reference_aff and bitfields

    get_inner_reference_aff tries to compensate for bit precision
    offsets and sizes by rounding down and up, but fails to do this
    correctly.  The following makes it more obviously correct by
    rounding positions and computing the rounded size based on those.

            PR tree-optimization/126650
            * tree-affine.cc (get_inner_reference_aff): Fixup rounding
            of size.

            * gcc.dg/torture/pr126650.c: New testcase.

Reply via email to