Re: [PATCH] powerpc: force inlining of csum_partial() to avoid multiple csum_partial() with GCC10

From: Christophe Leroy
Date: Thu Oct 15 2020 - 09:59:50 EST




Le 15/10/2020 à 15:25, Segher Boessenkool a écrit :
Hi!

On Thu, Oct 15, 2020 at 10:52:20AM +0000, Christophe Leroy wrote:
With gcc9 I get:

<snip>

With gcc10 I get:

<snip>

gcc10 defines multiple versions of csum_partial() which are just
an unconditionnal branch to __csum_partial().

It doesn't inline it, yes.

Could you open a GCC PR for this please?


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

Christophe