https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120063

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Malcolm <dmalc...@gcc.gnu.org>:

https://gcc.gnu.org/g:259347de43e9650659a6e7e624b5dc037c0180a0

commit r16-3828-g259347de43e9650659a6e7e624b5dc037c0180a0
Author: David Malcolm <dmalc...@redhat.com>
Date:   Fri Sep 12 10:24:36 2025 -0400

    diagnostics: handle fatal_error in SARIF output [PR120063]

    gcc/ChangeLog:
            PR diagnostics/120063
            * diagnostics/context.cc (context::execution_failed_p): Also treat
            any kind::fatal errors as leading to failed execution.
            * diagnostics/sarif-sink.cc (maybe_get_sarif_level): Handle
            kind::fatal as SARIF level "error".

    gcc/testsuite/ChangeLog:
            PR diagnostics/120063
            * gcc.dg/fatal-error.c: New test.
            * gcc.dg/fatal-error-html.py: New test.
            * gcc.dg/fatal-error-sarif.py: New test.

    Signed-off-by: David Malcolm <dmalc...@redhat.com>

Reply via email to