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

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

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

commit r15-10186-gcb06e4a961b85a06e666f03124f9bd0f99e79f8c
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Jul 31 13:04:49 2025 +0200

    tree-optimization/121323 - UBSAN error in ao_ref_init_from_ptr_and_range

    We should check the offset fits a HWI when multiplied to be in bits.

            PR tree-optimization/121323
            * tree-ssa-alias.cc (ao_ref_init_from_ptr_and_range): Check
            the pointer offset fits in a HWI when represented in bits.

    (cherry picked from commit 0be8ffbc854410b65d45a72e843dc18b13fc7b0f)

Reply via email to