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

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

https://gcc.gnu.org/g:b40b4333470345d905a5a9cc01f82880f18080f7

commit r16-8007-gb40b4333470345d905a5a9cc01f82880f18080f7
Author: Richard Sandiford <[email protected]>
Date:   Wed Mar 11 14:48:04 2026 +0000

    expand: Fix GET_MODE_SIZE/GET_MODE_BITSIZE typo [PR124435]

    When splitting out store_field_updates_msb_p, r16-7265-ga9e48eca3a6eef
    accidentally replaced GET_MODE_BITSIZE with GET_MODE_SIZE.

    A matching rename of to_size to to_bitsize would have overflowed a line,
    so it seemed worth breaking the endian cases apart.

    gcc/
            PR middle-end/124435
            * expr.cc (store_field_updates_msb_p): Use GET_MODE_BITSIZE
            instead of GET_MODE_SIZE.  Handle the two endiannesses separately.

    gcc/testsuite/
            PR middle-end/124435
            * gcc.dg/torture/pr124435.c: New test.

Reply via email to