https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366
Kewen Lin <linkw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
CC| |linkw at gcc dot gnu.org
--- Comment #9 from Kewen Lin <linkw at gcc dot gnu.org> ---
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.