summaryrefslogtreecommitdiff
path: root/gcc/genoutput.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-01-13 23:08:07 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-01-13 23:08:07 +0000
commita95b77af4013ddeb06b201352c429da438f1004c (patch)
tree48640e882ac295e74502464632ef52726a82dc0b /gcc/genoutput.c
parenta0761610f7983a2a4fc785078392a10f5be1be22 (diff)
downloadgcc-a95b77af4013ddeb06b201352c429da438f1004c.tar.gz
(output_epilogue): Do not reference gen_ functions for insns whose
names begin with '*'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8743 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genoutput.c')
-rw-r--r--gcc/genoutput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c
index 6636fc43b6c..20c101eaed1 100644
--- a/gcc/genoutput.c
+++ b/gcc/genoutput.c
@@ -1,5 +1,5 @@
/* Generate code from to output assembler insns as recognized from rtl.
- Copyright (C) 1987, 1988, 1992, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1988, 1992, 1994, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -222,7 +222,7 @@ output_epilogue ()
printf ("\nrtx (*const insn_gen_function[]) () =\n {\n");
for (d = insn_data; d; d = d->next)
{
- if (d->name)
+ if (d->name && d->name[0] != '*')
printf (" gen_%s,\n", d->name);
else
printf (" 0,\n");