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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu.org,
                   |                            |segher at gcc dot gnu.org

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Martin Jambor from comment #2)
> The testcase was added with a i386 specific patch to test that
> inlining of indirect calls in presence of __optimize__ attribute.
> 
> I am not sure whether inlining, even direct, in presence of the
> attribute is supposed to work on ppc64le, but it shows that it does
> not.  Even early inliner dump shows that an attempt to inline hiphip/1
> into test/2 fails because of "optimization level attribute mismatch."
> I suppose we need something like r222559 for ppc.

Yes, I really believe so. I'm CCing port maintainers.

> 
> If not, the testcase should be moved to a i386 specific directory.
> 
> And by the way, I tend to think that the testcase should use
> -fno-indirect-inlining option, the indirect call is direct when the
> IPA layer sees it.

Why should we add -fno-indirect-inlining to the test?

Reply via email to