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

--- Comment #25 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:d826b6389d9605944ce2261c07d2c9515992bccf

commit r15-4392-gd826b6389d9605944ce2261c07d2c9515992bccf
Author: David Malcolm <dmalc...@redhat.com>
Date:   Wed Oct 16 13:10:07 2024 -0400

    diagnostics: eliminate m_ice_handler_cb [PR116613]

    No functional change intended.

    gcc/ChangeLog:
            PR other/116613
            * diagnostic-format-sarif.cc
            (sarif_builder::on_report_diagnostic): Move the fnotice here from
            sarif_ice_handler.
            (sarif_ice_handler): Delete.
            (diagnostic_output_format_init_sarif): Drop setting of ice handler
            callback.
            * diagnostic.cc (diagnostic_context::initialize): Likewise.
            (diagnostic_context::action_after_output): Rather than call
            m_ice_handler_cb, instead call finish on this context.
            * diagnostic.h (ice_handler_callback_t): Delete typedef.
            (diagnostic_context::set_ice_handler_callback): Delete.
            (diagnostic_context::m_ice_handler_cb): Delete.

    gcc/testsuite/ChangeLog:
            PR other/116613
            * gcc.dg/plugin/diagnostic_plugin_xhtml_format.c: Update for
            removal of ICE callback.

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

Reply via email to