https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121323
--- 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:0be8ffbc854410b65d45a72e843dc18b13fc7b0f commit r16-2670-g0be8ffbc854410b65d45a72e843dc18b13fc7b0f 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.