https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114048
--- Comment #7 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:92c40297991f51e7fa942f29517bc4398fce33f9 commit r14-9135-g92c40297991f51e7fa942f29517bc4398fce33f9 Author: Richard Biener <rguent...@suse.de> Date: Thu Feb 22 14:22:29 2024 +0100 tree-optimization/114048 - ICE in copy_reference_ops_from_ref The following adds another omission to the assert verifying we're not running into spurious off == -1. PR tree-optimization/114048 * tree-ssa-sccvn.cc (copy_reference_ops_from_ref): MEM_REF can also produce -1 off. * gcc.dg/torture/pr114048.c: New testcase.