Re: [PATCH][gimplefe] Improve error recovery

2016-12-20 Thread Joseph Myers
On Tue, 20 Dec 2016, Richard Biener wrote: > Just noticed a few issues when feeding the GIMPLE FE random -gimple > dumps. On errors not skipping to expected tokens leads to a load > of strange followup parsing errors and worse, to endless parsing > attempts in one case. > > Fixed with the follow

[PATCH][gimplefe] Improve error recovery

2016-12-20 Thread Richard Biener
Just noticed a few issues when feeding the GIMPLE FE random -gimple dumps. On errors not skipping to expected tokens leads to a load of strange followup parsing errors and worse, to endless parsing attempts in one case. Fixed with the following. Bootstrap / regtest running together with the pas