[Bug target/81535] [8 regression] gcc.target/powerpc/pr79439.c fails starting with r250442

ygribov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 24 20:03:00 GMT 2017


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

--- Comment #2 from Yury Gribov <ygribov at gcc dot gnu.org> ---
Thanks for detailed report.

For pr79439.c take a look at discussion in bug 56727 - the general agreement
there was that it should be valid to replace recursive PLT calls with direct
calls as long as function does not have aliases.  GCC has already been doing
such sort of optimization before.  So perhaps we need to update test (by adding
alias there)?

pr56727-2.c is interesting, it does not repro on x86.  I'll be back on Thursday
and will take a look (hopefully it's not urgent?).


More information about the Gcc-bugs mailing list