(output_epilogue): Do not reference gen_ functions for insns whose
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 13 Jan 1995 23:08:07 +0000 (18:08 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 13 Jan 1995 23:08:07 +0000 (18:08 -0500)
names begin with '*'.

From-SVN: r8743

gcc/genoutput.c

index 6636fc43b6c30fb43625f32c8815580525523671..20c101eaed1ab53f3ab7810ef4aba8b413f880be 100644 (file)
@@ -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");