summaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index 00cf8423201..c31b1fb1909 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -599,8 +599,9 @@ gen_split (rtx split)
}
else
{
- printf ("extern rtx gen_split_%d (rtx *);\n", insn_code_number);
- printf ("rtx\ngen_%s_%d (rtx *operands%s)\n", name, insn_code_number, unused);
+ printf ("extern rtx gen_split_%d (rtx, rtx *);\n", insn_code_number);
+ printf ("rtx\ngen_split_%d (rtx curr_insn ATTRIBUTE_UNUSED, rtx *operands%s)\n",
+ insn_code_number, unused);
}
printf ("{\n");