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> 2001-01-04 Mark Mitchell <mark@codesourcery.com>
* tree.c (copy_node): Remove documentation about obstacks. * tree.c (copy_node): Remove documentation about obstacks.
......
...@@ -57,16 +57,16 @@ output_predicate_decls () ...@@ -57,16 +57,16 @@ output_predicate_decls ()
static struct { static struct {
const char *name; const char *name;
RTX_CODE codes[NUM_RTX_CODE]; RTX_CODE codes[NUM_RTX_CODE];
} *p, predicate[] = { } predicate[] = {
PREDICATE_CODES PREDICATE_CODES
{NULL, {0}}
}; };
int i;
putc ('\n', stdout); putc ('\n', stdout);
puts ("struct rtx_def;\n#include \"machmode.h\"\n"); 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", printf ("extern int %s PARAMS ((struct rtx_def *, enum machine_mode));\n",
p->name); predicate[i].name);
putc ('\n', stdout); putc ('\n', stdout);
#endif #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