https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108791
--- Comment #5 from CVS 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:441c466fd4d8b9afd99f585f7c4bfade911c4652 commit r13-6073-g441c466fd4d8b9afd99f585f7c4bfade911c4652 Author: Richard Biener <rguent...@suse.de> Date: Wed Feb 15 14:00:21 2023 +0100 tree-optimization/108791 - checking ICE with sloppy ADDR_EXPR The following fixes a checking ICE by choosing a more appropriate type for an ADDR_EXPR built by forwprop. PR tree-optimization/108791 * tree-ssa-forwprop.cc (optimize_vector_load): Build the ADDR_EXPR of a TARGET_MEM_REF using a more meaningful type. * gcc.dg/torture/pr108791.c: New testcase.