On Tue, Aug 31, 2021 at 7:41 AM apinski--- via Gcc-patches
wrote:
>
> From: Andrew Pinski
>
> The problem here is with -fPIC, both cmp and move
> don't bind locally so they are not even tried to be
> inlined. This fixes the issue by marking both
> functions as static and now the testcase passes
From: Andrew Pinski
The problem here is with -fPIC, both cmp and move
don't bind locally so they are not even tried to be
inlined. This fixes the issue by marking both
functions as static and now the testcase passes
for both -fPIC and -fno-PIC cases.
OK? Tested on x86_64-linux-gnu.
gcc/testsui