https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 61684 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61684&action=edit reduced testcase This is a reduced testcase (I've reduced the surrounding code, not the actual affected functions). I can provide the full original preprocessed source on request. Probably further reduction is possible. -O2 -Wall -std=gnu17 is enough to reproduce the issue.