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

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

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

commit r16-2671-gff6f7d8e005ae94ffd55f1dba727e28531c3daf3
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Jul 31 13:06:36 2025 +0200

    tree-optimization/121320 - UBSAN error in ao_ref_init_from_vn_reference

    The multiplication by BITS_PER_UNIT should be done in poly_offset_int.

            PR tree-optimization/121320
            * tree-ssa-sccvn.cc (ao_ref_init_from_vn_reference): Convert
            op->off to poly_offset_int before multiplying by
            BITS_PER_UNIT.

Reply via email to