https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689
--- Comment #10 from Alan Modra <amodra at gmail dot com> --- Replying to comment #4, yes, the function decl is wrong. It should have the full parameter list, or have none (ie. tree.c:prototype_p return false). The powerpc ELFv2 ABI works fine with non-prototyped function calls, but not with lying prototypes..