diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-05 04:56:11 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-05 04:56:11 +0000 |
commit | 0d2d46acc0ab054d702677731f1ffd8abb1bf5ee (patch) | |
tree | b63a94b017b8ea34130c545a603c44169fe90865 /gcc/genoutput.c | |
parent | ffd92f3c9672d23018c2a51d2469cf5ff2dcf7a4 (diff) | |
download | gcc-0d2d46acc0ab054d702677731f1ffd8abb1bf5ee.tar.gz |
* recog.h: Remove NO_MD_PROTOTYPES ifdefs.
* genflags.c: Use the max_operand_1 logic from genemit.c to
calculate how many arguments gen_insn prototypes have. Remove
NO_MD_PROTOTYPES ifdefs from the generated file.
* genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
file. Cast gen_insn initializers to insn_gen_fn.
* config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
* gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31801 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genoutput.c')
-rw-r--r-- | gcc/genoutput.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c index 5fd472de64c..ecac9c96fa0 100644 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -221,7 +221,6 @@ output_prologue () printf ("/* Generated automatically by the program `genoutput'\n\ from the machine description file `md'. */\n\n"); - printf ("#define NO_MD_PROTOTYPES\n"); printf ("#include \"config.h\"\n"); printf ("#include \"system.h\"\n"); printf ("#include \"flags.h\"\n"); @@ -369,7 +368,7 @@ output_insn_data () } if (d->name && d->name[0] != '*') - printf (" gen_%s,\n", d->name); + printf (" (insn_gen_fn) gen_%s,\n", d->name); else printf (" 0,\n"); |