http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57260
rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #13 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- Thanks for the testing. In the end I just used the mips_function_ok_for_sibcall part of the patch I attached. I later realised the other parts weren't correct. Applied to trunk.