Re: [PATCH] Enable ICE-after-error with -fchecking

2019-12-08 Thread Richard Biener
On Fri, 6 Dec 2019, Segher Boessenkool wrote: > On Wed, Dec 04, 2019 at 05:26:25PM +0100, Jakub Jelinek wrote: > > I'd fear people will use -fchecking and feel error-recovery bugs are then > > more important because they no longer get the more user friendly message. > > Can't we arrange for the em

Re: [PATCH] Enable ICE-after-error with -fchecking

2019-12-06 Thread Segher Boessenkool
On Wed, Dec 04, 2019 at 05:26:25PM +0100, Jakub Jelinek wrote: > I'd fear people will use -fchecking and feel error-recovery bugs are then > more important because they no longer get the more user friendly message. > Can't we arrange for the emergency IL dump to happen in this case anyway? Does it

Re: [PATCH] Enable ICE-after-error with -fchecking

2019-12-05 Thread Richard Biener
On Wed, 4 Dec 2019, Jakub Jelinek wrote: > On Wed, Dec 04, 2019 at 03:20:59PM +0100, Richard Biener wrote: > > Currently IL verification errors trigger "confused by earlier errors" > > messages with a release compiler but compiling with -fchecking. > > That is because those use error() before inte

Re: [PATCH] Enable ICE-after-error with -fchecking

2019-12-04 Thread Jakub Jelinek
On Wed, Dec 04, 2019 at 03:20:59PM +0100, Richard Biener wrote: > Currently IL verification errors trigger "confused by earlier errors" > messages with a release compiler but compiling with -fchecking. > That is because those use error() before internal_error. > > This precludes useful things like