https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104025
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #7) > 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. Fair; doing it in saved_token_sentinel seemed like a reasonable compromise.