https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120063
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by David Malcolm <[email protected]>: https://gcc.gnu.org/g:2fdebdd5690c0178582f8f6f6b1888fb7a233d43 commit r15-10671-g2fdebdd5690c0178582f8f6f6b1888fb7a233d43 Author: David Malcolm <[email protected]> Date: Tue Jan 13 17:09:09 2026 -0500 diagnostics: handle fatal_error in SARIF output [PR120063] Backported from r16-3828-g259347de43e965. gcc/ChangeLog: PR diagnostics/120063 * diagnostic-format-sarif.cc (maybe_get_sarif_level): Handle DK_FATAL as SARIF level "error". * diagnostic.cc (diagnostic_context::execution_failed_p): Also treat any DK_FATAL errors as leading to failed execution. gcc/testsuite/ChangeLog: PR diagnostics/120063 * gcc.dg/fatal-error.c: New test. * gcc.dg/fatal-error-sarif.py: New test. Signed-off-by: David Malcolm <[email protected]>
