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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:17db5742a555d4f8fd5fa324adb6d1e5c55374be

commit r15-5732-g17db5742a555d4f8fd5fa324adb6d1e5c55374be
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Nov 27 11:52:40 2024 +0000

    libstdc++: Add cold attribute to assertion failure functions [PR117650]

    This helps the compiler to split the cold path into a separate clone, so
    that the hot path is a smaller function that uses less icache, and the
    cold path is only fetched into the icache if actually executed.

    libstdc++-v3/ChangeLog:

            PR libstdc++/117650
            * include/bits/c++config (__glibcxx_assert_fail): Add cold
            attribute.
            * include/debug/formatter.h (_Error_formatter::_M_error):
            Likewise.

Reply via email to