summaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-05 11:23:01 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-05 11:23:01 +0000
commitd0abb70195ab3bf04deafad7c5504f2ca267736e (patch)
treed15ef9a5b1d57584e24690ce03a860ec3d006db7 /gcc/genemit.c
parent2492b9c7a2d5978c0e00d85c99a1ffb8101697b0 (diff)
downloadgcc-d0abb70195ab3bf04deafad7c5504f2ca267736e.tar.gz
* genattrtab.c (write_attr_get): Revert part of last patch to
always write out a prototype. * genemit.c (gen_split): Readd lost unused attributes in last patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68967 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index edeb1542bd0..35b58a099e0 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -587,13 +587,13 @@ gen_split (rtx split)
{
printf ("extern rtx gen_%s_%d (rtx, rtx *);\n",
name, insn_code_number);
- printf ("rtx\ngen_%s_%d (rtx curr_insn ATTRIBUTE_UNUSED, rtx *operands)\n",
- name, insn_code_number);
+ printf ("rtx\ngen_%s_%d (rtx curr_insn ATTRIBUTE_UNUSED, rtx *operands%s)\n",
+ name, insn_code_number, unused);
}
else
{
printf ("extern rtx gen_split_%d (rtx *);\n", insn_code_number);
- printf ("rtx\ngen_%s_%d (rtx *operands)\n", name, insn_code_number);
+ printf ("rtx\ngen_%s_%d (rtx *operands%s)\n", name, insn_code_number, unused);
}
printf ("{\n");