https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93242
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>: https://gcc.gnu.org/g:45d06a4045bebc3dbaaf0b1c676f4e22b7c6aca1 commit r10-6095-g45d06a4045bebc3dbaaf0b1c676f4e22b7c6aca1 Author: Andrew Pinski <apin...@marvell.com> Date: Sat Jan 18 00:41:06 2020 +0000 Fix PR 93242: patchable-function-entry broken on MIPS On MIPS, .set noreorder/reorder needs to emitted around the nop. The template for the nop instruction uses %(/%) to do that. But default_print_patchable_function_entry uses fprintf rather than output_asm_insn to output the instruction. This fixes the problem by using output_asm_insn to emit the nop instruction. ChangeLog: PR middle-end/93242 * targhooks.c (default_print_patchable_function_entry): Use output_asm_insn to emit the nop instruction.