Re: [PATCH] RFC: machine-readable diagnostic output (PR other/19165)

2018-11-13 Thread Richard Biener
On Tue, Nov 13, 2018 at 8:58 AM David Malcolm wrote: > > This patch implements a -fdiagnostics-format=json option which > converts the diagnostics to be output to stderr in a JSON format; > see the documentation in invoke.texi. > > Logically-related diagnostics are nested at the JSON level, using

[PATCH] RFC: machine-readable diagnostic output (PR other/19165)

2018-11-12 Thread David Malcolm
This patch implements a -fdiagnostics-format=json option which converts the diagnostics to be output to stderr in a JSON format; see the documentation in invoke.texi. Logically-related diagnostics are nested at the JSON level, using the auto_diagnostic_group mechanism. gcc/ChangeLog: PR o