This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 06c41504bd4 [PR121007, LRA]: Fall back to reload of whole inner address [...] new 457464edf19 libgdiagnostics: doc fixes new 1ea72a15031 json: fix null-termination of json::string new d7c1e9b37ca json: add json::value::clone new a5d9debedd2 diagnostics: add support for directed graphs; use them for [...]
The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/Makefile.in | 2 + gcc/analyzer/ana-state-to-diagnostic-state.cc | 659 +++--- gcc/analyzer/ana-state-to-diagnostic-state.h | 87 +- gcc/analyzer/checker-event.cc | 12 +- gcc/analyzer/checker-event.h | 7 +- gcc/analyzer/engine.cc | 4 +- gcc/analyzer/program-state.cc | 12 +- gcc/analyzer/program-state.h | 15 +- gcc/analyzer/sm-malloc.cc | 52 +- gcc/analyzer/sm.cc | 10 +- gcc/analyzer/sm.h | 12 +- gcc/diagnostic-digraphs.cc | 484 ++++ gcc/diagnostic-digraphs.h | 411 ++++ gcc/diagnostic-format-html.cc | 91 +- gcc/diagnostic-format-html.h | 6 +- gcc/diagnostic-format-sarif.cc | 221 +- gcc/diagnostic-format-sarif.h | 49 +- gcc/diagnostic-format-text.h | 6 + gcc/diagnostic-format.h | 3 + gcc/diagnostic-metadata.h | 29 +- gcc/diagnostic-output-spec.cc | 34 +- gcc/diagnostic-path.cc | 10 +- gcc/diagnostic-path.h | 12 +- gcc/diagnostic-state-graphs.cc | 158 ++ gcc/diagnostic-state-graphs.h | 156 ++ gcc/diagnostic-state-to-dot.cc | 605 ++--- gcc/diagnostic-state.h | 37 - gcc/diagnostic.cc | 8 + gcc/diagnostic.h | 11 + gcc/doc/analyzer.texi | 12 +- gcc/doc/invoke.texi | 12 +- gcc/doc/libgdiagnostics/topics/compatibility.rst | 33 + .../libgdiagnostics/topics/diagnostic-manager.rst | 26 +- gcc/doc/libgdiagnostics/topics/graphs.rst | 197 ++ gcc/doc/libgdiagnostics/topics/index.rst | 1 + .../libgdiagnostics/topics/logical-locations.rst | 7 +- .../tutorial/02-physical-locations.rst | 11 +- gcc/graphviz.h | 10 + gcc/json.cc | 122 +- gcc/json.h | 14 + gcc/libgdiagnostics++.h | 163 ++ gcc/libgdiagnostics-private.h | 62 + gcc/libgdiagnostics.cc | 340 ++- gcc/libgdiagnostics.h | 134 ++ gcc/libgdiagnostics.map | 23 + gcc/libsarifreplay.cc | 435 +++- gcc/selftest-run-tests.cc | 2 + gcc/selftest.h | 2 + .../gcc.dg/analyzer/state-diagram-1-sarif.py | 53 +- gcc/testsuite/gcc.dg/analyzer/state-diagram-1.c | 2 +- .../gcc.dg/analyzer/state-diagram-5-sarif.c | 2 +- .../gcc.dg/analyzer/state-diagram-5-sarif.py | 86 +- .../gcc.dg/plugin/diagnostic-test-graphs-html.c | 13 + .../gcc.dg/plugin/diagnostic-test-graphs-html.py | 48 + ...ting-sarif.c => diagnostic-test-graphs-sarif.c} | 8 +- .../gcc.dg/plugin/diagnostic-test-graphs-sarif.py | 55 + .../gcc.dg/plugin/diagnostic-test-graphs.c | 8 + .../gcc.dg/plugin/diagnostic_plugin_test_graphs.cc | 283 +++ gcc/testsuite/gcc.dg/plugin/plugin.exp | 4 + gcc/testsuite/lib/sarif.py | 26 +- .../2.1.0-invalid/3.40.2-duplicate-node-id.sarif | 23 + .../3.41.4-unrecognized-node-id.sarif | 16 + .../2.1.0-valid/graphs-check-html.py | 46 + .../2.1.0-valid/graphs-check-sarif-roundtrip.py | 55 + .../sarif-replay.dg/2.1.0-valid/graphs.sarif | 2445 ++++++++++++++++++++ 65 files changed, 7024 insertions(+), 958 deletions(-) create mode 100644 gcc/diagnostic-digraphs.cc create mode 100644 gcc/diagnostic-digraphs.h create mode 100644 gcc/diagnostic-state-graphs.cc create mode 100644 gcc/diagnostic-state-graphs.h delete mode 100644 gcc/diagnostic-state.h create mode 100644 gcc/doc/libgdiagnostics/topics/graphs.rst create mode 100644 gcc/libgdiagnostics-private.h create mode 100644 gcc/testsuite/gcc.dg/plugin/diagnostic-test-graphs-html.c create mode 100644 gcc/testsuite/gcc.dg/plugin/diagnostic-test-graphs-html.py copy gcc/testsuite/gcc.dg/plugin/{diagnostic-test-nesting-sarif.c => diagnostic-te [...] create mode 100644 gcc/testsuite/gcc.dg/plugin/diagnostic-test-graphs-sarif.py create mode 100644 gcc/testsuite/gcc.dg/plugin/diagnostic-test-graphs.c create mode 100644 gcc/testsuite/gcc.dg/plugin/diagnostic_plugin_test_graphs.cc create mode 100644 gcc/testsuite/sarif-replay.dg/2.1.0-invalid/3.40.2-duplicate-no [...] create mode 100644 gcc/testsuite/sarif-replay.dg/2.1.0-invalid/3.41.4-unrecognized [...] create mode 100644 gcc/testsuite/sarif-replay.dg/2.1.0-valid/graphs-check-html.py create mode 100644 gcc/testsuite/sarif-replay.dg/2.1.0-valid/graphs-check-sarif-ro [...] create mode 100644 gcc/testsuite/sarif-replay.dg/2.1.0-valid/graphs.sarif