https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99833
--- Comment #10 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #9) > Created attachment 50591 [details] > gcc11-pr99833.patch > > Untested fix. This seems to work for me... Ah, I hadn't considered that the problem might be in extract_locals_spec. You're much farther than I am on this PR :) Please feel free to take it.