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

--- 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:2dbb1c124c1e585dc413132d7a8d4be62c6b7baa

commit r15-866-g2dbb1c124c1e585dc413132d7a8d4be62c6b7baa
Author: David Malcolm <dmalc...@redhat.com>
Date:   Tue May 28 13:04:26 2024 -0400

    diagnostics: disable localization of events in selftest paths [PR115203]

    gcc/ChangeLog:
            PR analyzer/115203
            * diagnostic-path.h
            (simple_diagnostic_path::disable_event_localization): New.
            (simple_diagnostic_path::m_localize_events): New field.
            * diagnostic.cc
            (simple_diagnostic_path::simple_diagnostic_path): Initialize
            m_localize_events.
            (simple_diagnostic_path::add_event): Only localize fmt if
            m_localize_events is true.
            * tree-diagnostic-path.cc
            (test_diagnostic_path::test_diagnostic_path): Call
            disable_event_localization.

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

Reply via email to