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

--- Comment #11 from Mathieu Malaterre <malat at debian dot org> ---
(In reply to Kewen Lin from comment #9)
> It looks to me that the error message is expected, because the source code
> forces the function as always_inline, users would like it to be inlined
> always, it's compiled with -mcpu=power10 as pragma function target
> specifies, but the caller is compiled with -mcpu=power9 as command line
> specifies, the caller doesn't have the full ISA capability over the callee,
> it's unable to make inlining happen.

Ah right. I missed the fact that `-O1 -mcpu=power8 -flto=auto` also does
trigger the exact same error message. Sorry for the noise.

Reply via email to