aboutsummaryrefslogtreecommitdiff
path: root/gcc/genoutput.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-05-27 19:17:59 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-05-27 19:17:59 -0700
commitd80eb1e1673b2bf7d7f54b11598dc715ef429f82 (patch)
tree569cc0f53ad430442326e0cada3e876ee17f950a /gcc/genoutput.c
parent4f9e07666b976860903ce07745e5bf9d9ec9402a (diff)
downloadgcc-d80eb1e1673b2bf7d7f54b11598dc715ef429f82.zip
gcc-d80eb1e1673b2bf7d7f54b11598dc715ef429f82.tar.gz
gcc-d80eb1e1673b2bf7d7f54b11598dc715ef429f82.tar.bz2
Makefile.in (resource.o): Depend on except.h.
* Makefile.in (resource.o): Depend on except.h. * except.h (output_exception_table_data): Prototype. * genconfig.c (gen_peephole2): Prototype. * genemit.c (main): Include ggc.h. * genoutput.c: Revert parts of last change: include errors.h (main): Set progname. * recog.c: Include hard-reg-set.h before recog.h. * resource.c: Include except.h. From-SVN: r34219
Diffstat (limited to 'gcc/genoutput.c')
-rw-r--r--gcc/genoutput.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c
index e9a257f..797f3d2 100644
--- a/gcc/genoutput.c
+++ b/gcc/genoutput.c
@@ -88,6 +88,7 @@ Boston, MA 02111-1307, USA. */
#include "hconfig.h"
#include "system.h"
#include "rtl.h"
+#include "errors.h"
#include "gensupport.h"
/* No instruction can have more operands than this. Sorry for this
@@ -169,8 +170,6 @@ struct data
/* This variable points to the first link in the insn chain. */
static struct data *idata, **idata_end = &idata;
-
-static int have_error;
static void output_prologue PARAMS ((void));
static void output_predicate_decls PARAMS ((void));
@@ -901,6 +900,8 @@ main (argc, argv)
{
rtx desc;
+ progname = "genoutput";
+
if (argc <= 1)
fatal ("No input file name.");