Commit 1fd4f141 by Alexandre Oliva Committed by Alexandre Oliva

* gencodes.c (output_predicate_decls): Remove empty initializer.

From-SVN: r38689
parent 519c9806
2001-01-04 Alexandre Oliva <aoliva@redhat.com>
* gencodes.c (output_predicate_decls): Remove empty initializer.
2001-01-04 Mark Mitchell <mark@codesourcery.com>
* tree.c (copy_node): Remove documentation about obstacks.
......
......@@ -57,16 +57,16 @@ output_predicate_decls ()
static struct {
const char *name;
RTX_CODE codes[NUM_RTX_CODE];
} *p, predicate[] = {
} predicate[] = {
PREDICATE_CODES
{NULL, {0}}
};
int i;
putc ('\n', stdout);
puts ("struct rtx_def;\n#include \"machmode.h\"\n");
for (p = predicate; p->name; p++)
for (i = 0; i < sizeof predicate / sizeof *predicate; i++)
printf ("extern int %s PARAMS ((struct rtx_def *, enum machine_mode));\n",
p->name);
predicate[i].name);
putc ('\n', stdout);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment