https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104025
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Maybe. But how? Would it push a pair of next_token, input_location ? I think it isn't easy to recompute input_location after the rollback otherwise. And, I'm a little bit worried that such a change could be at this point quite dangerous, while the above patch affects one spot that has changed, we have lots of rollbacks in various places. Anyway, patch passed bootstrap/regtest.