https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109005
--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #10) > with a debug build on darwin19: > #2 0x000000010249e5a5 in make_ssa_name_fn (fn=0x11104b170, var=0x10771d1f8, > stmt=0x0, version=0) at /src-local/gcc-master/gcc/tree-ssanames.cc:357 > 357 gcc_assert (VAR_P (var) > (gdb) p debug_tree(var) > <array_type 0x10771d1f8 > type <integer_type 0x10711c348 character public unsigned QI > size <integer_cst 0x107102d38 constant 8> > unit-size <integer_cst 0x107102d50 constant 1> > align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type > 0x10711c348 precision:8 min <integer_cst 0x107102d68 0> max <integer_cst > 0x107102d08 255> > pointer_to_this <pointer_type 0x107180c78>> > QI size <integer_cst 0x107102d38 8> unit-size <integer_cst 0x107102d50 1> ^^ That proves my suspicion in comment#5 and the suggested fix should work fine.