https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116236
--- Comment #18 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- Created attachment 58927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58927&action=edit Candidate patch Could you try the attached patch? It seems to fix the reduced testcase for me.