https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498
--- Comment #21 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > That said, I think especially for backports to 11/12 and perhaps even for 13 > the easiest will be the second option, clear string_merging on non-aligned > start/width. > > Eric, your thoughts on this? Yes, nonaligned strings do not make much sense. Where do they come from in your first testcase? Is it fold-const synthesizing STRING_CST from INTEGER_CST?