https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80505
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamborm at gcc dot gnu.org Component|testsuite |target --- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> --- 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. 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.