https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96328
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 48931 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48931&action=edit gcc11-pr96328-alt.patch If you want, we could call the safe_previous_token also in the other spot, while we don't have a known testcase for those cases, it is still just a hint and thus not really required if something goes wrong and everything before it is purged.