https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116196
--- Comment #3 from Mikael Morin <mikael at gcc dot gnu.org> --- Created attachment 58971 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58971&action=edit Draft patch This fixes the testcase. But the testcase is by far insufficient to thoroughly check the correctness of this patch.