https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127958
--- Comment #3 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:a793e66d706e04e0600b852cd8818bde21ae3599 commit r17-5325-ga793e66d706e04e0600b852cd8818bde21ae3599 Author: Richard Biener <[email protected]> Date: Mon Oct 19 10:44:28 2026 +0200 tree-optimization/127958 - avoid building invalid BIT_FIELD_REF FRE builds a temporary BIT_FIELD_REF for redundant store elimination but fails to constrain the resulting offset so we eventually ICE when using bit_field_offset later which assumes the offset fits in a poly_uint64. PR tree-optimization/127958 * tree-ssa-sccvn.cc (eliminate_dom_walker::eliminate_stmt): Check whether the offset for a BIT_FIELD_REF fits before using it as a lookup ref for redundant store elimination.
