Cristian Rodríguez, le lun. 01 mai 2023 17:52:17 -0400, a ecrit: > On Sat, Apr 29, 2023 at 9:12 AM Sergey Bugaev via Libc-alpha <[1] > libc-al...@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.
Indeed, most __noreturn__ functions a probably worth having a look at. Samuel