* 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
+2000-05-27 Richard Henderson <rth@cygnus.com>
+
+ * 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.
+
+ * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
+ with RTX_CODE.
+ (alpha_write_linkage): Protect with BUFSIZ.
+ (alpha_need_linkage): Update prototype.
+ * config/alpha/alpha.c (function_arg): Move VMS code here.
+ (alpha_links_base): Remove.
+ (alpha_links): New.
+ (mark_alpha_links_node, mark_alpha_links): New.
+ (alpha_write_one_linkage): New.
+ (alpha_need_linkage): Use a splay tree. Build the linkage symbol.
+ (alpha_write_linkage): Use splay_tree_foreach.
+ * config/alpha/alpha.md (call_vms): Use alpha_need_linkage
+ to get the linkage symbol.
+ (call_value_vms): Likewise.
+ * config/alpha/elf.h (output_file_directive): Remove decl.
+ (ctors_section, dtors_section): Prototype.
+ (sbss_section, sdata_section): Prototype.
+ * config/alpha/vms.h (FUNCTION_ARG): Remove.
+ (readonly_section, link_section, literals_section): Prototype.
+ (ctors_section, dtors_section): Prototype.
+ (vms_valid_decl_attribute_p): Remove decl.
+ (alpha_arg_type, alpha_arg_info_reg_val): Likewise.
+
2000-05-27 Geoff Keating <geoffk@cygnus.com>
* reload.c (get_secondary_mem): Don't widen floating-point modes.
hard-reg-set.h flags.h insn-config.h $(RECOG_H) $(BASIC_BLOCK_H)
resource.o : resource.c $(CONFIG_H) $(RTL_H) hard-reg-set.h system.h \
$(BASIC_BLOCK_H) $(REGS_H) flags.h output.h resource.h function.h toplev.h \
- insn-attr.h
+ insn-attr.h except.h
lcm.o : lcm.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) hard-reg-set.h flags.h \
real.h insn-config.h insn-attr.h $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H)
ssa.o : ssa.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) $(BASIC_BLOCK_H) \
/* Outputs the exception table if we have one. */
extern void output_exception_table PARAMS ((void));
+extern void output_exception_table_data PARAMS ((void));
/* Free the exception table. */
static void gen_expand PARAMS ((rtx));
static void gen_split PARAMS ((rtx));
static void gen_peephole PARAMS ((rtx));
+static void gen_peephole2 PARAMS ((rtx));
/* RECOG_P will be non-zero if this pattern was seen in a context where it will
be used to recognize, rather than just generate an insn.
printf ("#include \"hard-reg-set.h\"\n");
printf ("#include \"recog.h\"\n");
printf ("#include \"resource.h\"\n");
- printf ("#include \"reload.h\"\n\n");
+ printf ("#include \"reload.h\"\n");
+ printf ("#include \"ggc.h\"\n\n");
printf ("#define FAIL return (end_sequence (), _val)\n");
printf ("#define DONE return (_val = gen_sequence (), end_sequence (), _val)\n");
#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
/* This variable points to the first link in the insn chain. */
static struct data *idata, **idata_end = &idata;
-
-static int have_error;
\f
static void output_prologue PARAMS ((void));
static void output_predicate_decls PARAMS ((void));
{
rtx desc;
+ progname = "genoutput";
+
if (argc <= 1)
fatal ("No input file name.");
#include "insn-attr.h"
#include "insn-flags.h"
#include "insn-codes.h"
+#include "hard-reg-set.h"
#include "recog.h"
#include "regs.h"
-#include "hard-reg-set.h"
#include "function.h"
#include "flags.h"
#include "real.h"
#include "flags.h"
#include "output.h"
#include "resource.h"
+#include "except.h"
#include "insn-attr.h"
/* This structure is used to record liveness information at the targets or