Good catch, I think it makes sense since a user using FMV means they
care about the performance of that function, so we should keep the
call and not inline here.
This should be committed after the FMV is implemented, but I think
this is simple enough, so I committed this to trunk :)
On Thu, Oct
When the callee is versioned but the caller is not, we should not inline
the callee into the caller, to prevent the default version of the callee
from being inlined into a not versioned caller.
gcc/ChangeLog:
* config/riscv/riscv.cc (riscv_can_inline_p): Refuse to inline
when call