[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

linkw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 15 09:57:31 GMT 2021


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

--- Comment #23 from Kewen Lin <linkw at gcc dot gnu.org> ---
(In reply to Chip Kerchner from comment #22)
> (In reply to Chip Kerchner from comment #21) - Forgot one line of code
> > ----------------------
> > #pragma GCC target "cpu=power10"
> > int main() {
> >   float *b;
> >   __vector_quad c;
> >   __builtin_mma_disassemble_acc(b, &c);
> >   return 0;
> > }
> > ----------------------

Hi Chip, I can reproduce this error with trunk. With some investigation, I
think it's not duplicated of this PR, some information restoring seems wrong
when lto. Could you please file a separated PR?  Thanks in advance!


More information about the Gcc-bugs mailing list