This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 4cd741dcbd3 [RISC-V][PR middle-end/114512] Recognize more bext idioms f [...] new bf6d85490a2 libgdiagnostics: add accessors for diagnostic_logical_locat [...] new 8ab6899dce9 diagnostics: add logical_location_manager; reimplement logi [...] new f25e178b8c2 sarif output: capture nesting of logical locations [PR116176] new 9fb44cc4823 diagnostics: support XML and JSON kinds of logical locations new 52fe9502eb1 json: implement JSON pointer; use it in sarif-replay [PR117988] new f4fa41cd5cc diagnostics: use diagnostic_option_id in one more place new 67e79da5a3c libgcobol: Fix bootstrap for targets without program_invoca [...]
The 7 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/analyzer/checker-event.cc | 25 +- gcc/analyzer/checker-event.h | 15 +- gcc/analyzer/checker-path.h | 5 +- gcc/analyzer/diagnostic-manager.cc | 12 +- gcc/analyzer/diagnostic-manager.h | 3 + gcc/diagnostic-client-data-hooks.h | 11 +- gcc/diagnostic-format-json.cc | 13 +- gcc/diagnostic-format-sarif.cc | 303 +++++++++++++++-- gcc/diagnostic-format-sarif.h | 19 +- gcc/diagnostic-path.cc | 32 +- gcc/diagnostic-path.h | 22 +- gcc/diagnostic.cc | 14 +- gcc/diagnostic.h | 5 +- gcc/doc/libgdiagnostics/topics/compatibility.rst | 179 ++++++++++ gcc/doc/libgdiagnostics/topics/index.rst | 1 + .../libgdiagnostics/topics/logical-locations.rst | 53 +++ gcc/json.cc | 375 +++++++++++++++++++++ gcc/json.h | 55 +++ gcc/lazy-diagnostic-path.cc | 8 +- gcc/lazy-diagnostic-path.h | 6 + gcc/libgdiagnostics++.h | 64 ++++ gcc/libgdiagnostics.cc | 357 +++++++++++++++----- gcc/libgdiagnostics.h | 44 ++- gcc/libgdiagnostics.map | 10 + gcc/libsarifreplay.cc | 106 +++++- gcc/logical-location.h | 135 ++++++-- gcc/selftest-diagnostic-path.cc | 39 ++- gcc/selftest-diagnostic-path.h | 22 +- gcc/selftest-diagnostic.cc | 2 +- gcc/selftest-diagnostic.h | 2 +- gcc/selftest-logical-location.cc | 77 ++++- gcc/selftest-logical-location.h | 55 ++- gcc/selftest-run-tests.cc | 1 + gcc/selftest.h | 1 + gcc/simple-diagnostic-path.cc | 13 +- gcc/simple-diagnostic-path.h | 12 +- .../sarif-output/logical-locations-1.C} | 19 +- .../g++.dg/sarif-output/logical-locations-1.py | 79 +++++ .../g++.dg/sarif-output/logical-locations-2.C | 69 ++++ .../g++.dg/sarif-output/logical-locations-2.py | 90 +++++ .../g++.dg/sarif-output/logical-locations-3.C | 85 +++++ .../g++.dg/sarif-output/logical-locations-3.py | 61 ++++ .../sarif-output/sarif-output.exp | 4 +- .../gcc.dg/plugin/diagnostic_plugin_test_paths.cc | 10 +- .../libgdiagnostics.dg/test-logical-location-c.py | 9 + .../libgdiagnostics.dg/test-logical-location.c | 12 + .../libgdiagnostics.dg/test-logical-location.cc | 91 +++++ .../test-nested-logical-locations-json-c.py | 79 +++++ .../test-nested-logical-locations-json.c | 165 +++++++++ .../libgdiagnostics.dg/test-warning-with-path-c.py | 14 +- .../2.1.0-invalid/3.1-not-an-object.sarif | 3 + ....11.11-missing-arguments-for-placeholders.sarif | 3 + ....11-not-enough-arguments-for-placeholders.sarif | 3 + .../2.1.0-invalid/3.11.5-unescaped-braces.sarif | 3 + .../2.1.0-invalid/3.13.2-no-version.sarif | 3 + .../3.13.2-version-not-a-string.sarif | 3 + .../2.1.0-invalid/3.13.4-bad-runs.sarif | 3 + .../2.1.0-invalid/3.13.4-no-runs.sarif | 3 + .../2.1.0-invalid/3.13.4-non-object-in-runs.sarif | 3 + .../2.1.0-invalid/3.27.10-bad-level.sarif | 3 + .../2.1.0-invalid/3.33.3-index-out-of-range.sarif | 3 + .../2.1.0-unhandled/3.27.10-none-level.sarif | 3 + .../2.1.0-valid/3.33.7-json-example.sarif | 83 +++++ .../2.1.0-valid/3.33.7-xml-example.sarif | 77 +++++ gcc/tree-diagnostic-client-data-hooks.cc | 14 +- gcc/tree-logical-location.cc | 188 +++++------ gcc/tree-logical-location.h | 62 ++-- libgcobol/config.h.in | 10 + libgcobol/configure | 81 ++++- libgcobol/configure.ac | 14 +- libgcobol/libgcobol.cc | 15 +- 71 files changed, 3032 insertions(+), 431 deletions(-) create mode 100644 gcc/doc/libgdiagnostics/topics/compatibility.rst copy gcc/testsuite/{gcc.dg/sarif-output/missing-semicolon.c => g++.dg/sarif-output [...] create mode 100644 gcc/testsuite/g++.dg/sarif-output/logical-locations-1.py create mode 100644 gcc/testsuite/g++.dg/sarif-output/logical-locations-2.C create mode 100644 gcc/testsuite/g++.dg/sarif-output/logical-locations-2.py create mode 100644 gcc/testsuite/g++.dg/sarif-output/logical-locations-3.C create mode 100644 gcc/testsuite/g++.dg/sarif-output/logical-locations-3.py copy gcc/testsuite/{gcc.dg => g++.dg}/sarif-output/sarif-output.exp (90%) create mode 100644 gcc/testsuite/libgdiagnostics.dg/test-logical-location.cc create mode 100644 gcc/testsuite/libgdiagnostics.dg/test-nested-logical-locations- [...] create mode 100644 gcc/testsuite/libgdiagnostics.dg/test-nested-logical-locations-json.c create mode 100644 gcc/testsuite/sarif-replay.dg/2.1.0-valid/3.33.7-json-example.sarif create mode 100644 gcc/testsuite/sarif-replay.dg/2.1.0-valid/3.33.7-xml-example.sarif