Re: [PATCH] Replace one error with inform.

2020-01-27 Thread David Malcolm
On Mon, 2020-01-27 at 16:23 +0100, Martin Liška wrote: > On 1/27/20 2:38 PM, David Malcolm wrote: > > Please add an > >auto_diagnostic_group d; > > here, so that -fdiagnostics-format=json can nest the note below the > > error. > > > > OK with that change. > > Sure, there's one another

Re: [PATCH] Replace one error with inform.

2020-01-27 Thread Martin Liška
On 1/27/20 2:38 PM, David Malcolm wrote: Please add an auto_diagnostic_group d; here, so that -fdiagnostics-format=json can nest the note below the error. OK with that change. Sure, there's one another patch that does the for all error+inform in the function. Patch can bootstrap on

Re: [PATCH] Replace one error with inform.

2020-01-27 Thread David Malcolm
On Mon, 2020-01-27 at 10:57 +0100, Martin Liška wrote: > Hello. > > The patch is about splitting pair of errors into > error and inform which seems logical to me in this > situation: [...] > diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c > index 4520c995028..f9bed1ea4fb 100644 > --- a/gcc/cp/pt.c > +++