https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu.org --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to huang...@loongson.cn from comment #2) > my colleague Xu Chenghua (xucheng...@loongson.cn) add a patch to address this This patch is close, though it needs to move the call to mips16_build_function_stub also.