https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100887
--- Comment #6 from Zdenek Sojka <zsojka at seznam dot cz> --- (In reply to Jakub Jelinek from comment #5) > Created attachment 50919 [details] > gcc12-pr100887.patch > > Untested fix. Thank you for the patch. So the testcase from c#3 might be unrelated.