Re: [PATCH] sigsegv: Avoid "candidate for attribute 'cold'" warning

2023-08-17 Thread Gleb Fotengauer-Malinovskiy
On Thu, Aug 17, 2023 at 01:36:32AM +0200, Bruno Haible wrote: > Gleb Fotengauer-Malinovskiy wrote: > > Following the glibc commit glibc-2.38~298 ("Mark various cold functions > > as __COLD"), the compilation of projects employing the manywarnings > > module (such as GNU grep) with with the -flto fl

Re: [PATCH] sigsegv: Avoid "candidate for attribute 'cold'" warning

2023-08-16 Thread Bruno Haible
Gleb Fotengauer-Malinovskiy wrote: > Following the glibc commit glibc-2.38~298 ("Mark various cold functions > as __COLD"), the compilation of projects employing the manywarnings > module (such as GNU grep) with with the -flto flag triggers a GCC > warning: > > sigsegv.c: In function ‘stackoverflo

[PATCH] sigsegv: Avoid "candidate for attribute 'cold'" warning

2023-08-16 Thread Gleb Fotengauer-Malinovskiy
Following the glibc commit glibc-2.38~298 ("Mark various cold functions as __COLD"), the compilation of projects employing the manywarnings module (such as GNU grep) with with the -flto flag triggers a GCC warning: sigsegv.c: In function ‘stackoverflow_deinstall_handler.part.0’: sigsegv.c:1441:1: