On Thu, Sep 16, 2021 at 11:48:49AM +0200, Richard Biener via Gcc-patches wrote: > 2021-09-16 Richard Biener <rguent...@suse.de> > > PR middle-end/102360 > * internal-fn.c (expand_DEFERRED_INIT): Make pattern-init > of non-memory more robust. > > * g++.dg/pr102360.C: New testcase. > + if (can_native_interpret_type_p (var_type)) > + init = native_interpret_expr (var_type, buf, total_bytes); > + else > + { > + tree itype = build_nonstandard_integer_type (total_bytes * 8, 1);
Shouldn't that 8 be BITS_PER_UNIT ? I know we have tons of problems with BITS_PER_UNIT is not 8, but adding further ones is unnecessary. Jakub