https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95983
--- Comment #8 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to gcc-bugs from comment #4) > Hi Patrick, > > thank you for that patch. I guess that it also fixes > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96070. Ah indeed, thanks. The testcase there seems similar enough to mark the PR as a dup of this one. > > Will this patch be backported to gcc-10? I believe so; fortunately, the patch applies pretty cleanly to the 10 branch, so I don't expect many changes will be needed in order to backport.