diff options
Diffstat (limited to 'gcc/genoutput.c')
-rw-r--r-- | gcc/genoutput.c | 5 |
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."); |