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

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

https://gcc.gnu.org/g:230f672b3ed0f64c9110ef9dba616c17d713816d

commit r13-8759-g230f672b3ed0f64c9110ef9dba616c17d713816d
Author: David Malcolm <dmalc...@redhat.com>
Date:   Thu May 9 13:09:32 2024 -0400

    diagnostics: fix ICE on sarif output when source file is unreadable
[PR111700]

    Backported from r14-4474-g94caa6a6b4bd73.

    gcc/ChangeLog:
            PR driver/111700
            * input.cc (file_cache::add_file): Update leading comment to
            clarify that it can fail.
            (file_cache::lookup_or_add_file): Likewise.
            (get_source_file_content): Gracefully handle lookup_or_add_file
            failing.

    gcc/testsuite/ChangeLog:
            PR driver/111700
            * c-c++-common/diagnostic-format-sarif-file-pr111700.c: New test.

    Signed-off-by: David Malcolm <dmalc...@redhat.com>
  • [Bug driver/111700] ICE: SIGSEG... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to