On Thu, 2024-10-03 at 11:15 -0700, Andi Kleen wrote: > > The only consumer I know of for the JSON time report data is in the > > integration tests I wrote for -fanalyzer, which assumes that all > > fields > > are present when printing, and then goes on to use the "user" times > > for > > summarizing; see this commit FWIW: > > https://github.com/davidmalcolm/gcc-analyzer-integration-tests/commit/5420ce968e6eae886e61486555b54fd460e0d35f > > It seems to be broken even without my changes: > > > % ./gcc/cc1plus -ftime-report -fdiagnostics-format=sarif-file > ../tsrc/tramp3d-v4.i > cc1plus: internal compiler error: Segmentation fault
Oops, thanks; I'm tracking this as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116978 and working on a fix. Dave