diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-11-27 11:52:40 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-11-27 21:36:14 +0000 |
commit | 17db5742a555d4f8fd5fa324adb6d1e5c55374be (patch) | |
tree | 6465237a7bf3d60282ab32029a7ce9904301e407 /gcc/rust/util | |
parent | 093584abb854559393e36cd4cdcf9dc4862dd046 (diff) | |
download | gcc-17db5742a555d4f8fd5fa324adb6d1e5c55374be.zip gcc-17db5742a555d4f8fd5fa324adb6d1e5c55374be.tar.gz gcc-17db5742a555d4f8fd5fa324adb6d1e5c55374be.tar.bz2 |
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.
Diffstat (limited to 'gcc/rust/util')
0 files changed, 0 insertions, 0 deletions