diff options
author | Andrew Pinski <apinski@marvell.com> | 2020-01-18 00:41:06 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2020-01-20 14:22:42 +0000 |
commit | 45d06a4045bebc3dbaaf0b1c676f4e22b7c6aca1 (patch) | |
tree | 3a440d7a74b71849eeeff5302b81f80861c67a3c /gcc/tree-into-ssa.c | |
parent | 414231ba78973dfcb11648a0a5287b989e0148bb (diff) | |
download | gcc-45d06a4045bebc3dbaaf0b1c676f4e22b7c6aca1.zip gcc-45d06a4045bebc3dbaaf0b1c676f4e22b7c6aca1.tar.gz gcc-45d06a4045bebc3dbaaf0b1c676f4e22b7c6aca1.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-into-ssa.c')
0 files changed, 0 insertions, 0 deletions