https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #10) > Created attachment 51023 [details] > gcc12-pr101062.patch > > Untested fix for this in stor-layout.c. LGTM