https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99121
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:4662984506b774213df9c4429d2c59664bb09adc commit r11-9787-g4662984506b774213df9c4429d2c59664bb09adc Author: Richard Biener <rguent...@suse.de> Date: Thu Apr 7 11:59:04 2022 +0200 tree-optimization/99121 - avoid ICEing for non-constant sizes The following is a simple fix to avoid ICEing on non-constant sizes of ARRAY_REFs instead of backporting too intrusive changes done on trunk. 2022-04-07 Richard Biener <rguent...@suse.de> PR tree-optimization/99121 * gimple-array-bounds.cc (array_bounds_checker::check_mem_ref): Bail out for non-constant type size.