https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105232
--- Comment #4 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:008d568ac7eba4057172c52d306e09d174041c59 commit r11-9813-g008d568ac7eba4057172c52d306e09d174041c59 Author: Richard Biener <rguent...@suse.de> Date: Tue Apr 12 09:54:32 2022 +0200 tree-optimization/105232 - handle overly large sizes in component_ref_size The following properly checks tree_fits_poly_int64_p before converting a size to a poly_int64. 2022-04-12 Richard Biener <rguent...@suse.de> PR tree-optimization/105232 * tree.c (component_ref_size): Bail out for too large or non-constant sizes. (cherry picked from commit 1bd96873cf73c4f59de48e9bc0d17a498f1ede04)