https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97073
--- Comment #8 from Franz Sirl <sirl at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #4) > Created attachment 49236 [details] > gcc11-pr97073.patch > > Untested fix. I can confirm that this patch applied to the gcc-8 branch fixes the testcase and the original problem in the affected application.