https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84305
--- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- This testcase: -------------------------------------------------------------- int res, a, b; void *foo; static void f2 (int arg) { res = ((int (*)[arg][b]) foo)[0][0][0]; } void f1 (void) { f2 (a); } -------------------------------------------------------------- generates an ICE in make_ssa_name_fn, during remap_type, because the TYPE_SIZE_UNIT of the outer array contains a freed SSA_NAME. (Sorry for the empty description, gateway timeout.)