a On Sat, Apr 29, 2023 at 9:12 AM Sergey Bugaev via Libc-alpha < libc-alpha@sourceware.org> wrote: > GCC docs explicitly list perror () as a good candidate for using > __attribute__ ((cold)). So apply __COLD to perror () and similar > functions. > abort() and all the function wrappers called by assert on failure are also cold. Cheers! >