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
This commit is contained in:
Richard Henderson 2000-05-27 19:17:59 -07:00 committed by Richard Henderson
parent 4f9e07666b
commit d80eb1e167
8 changed files with 44 additions and 5 deletions

View File

@ -1,3 +1,37 @@
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.

View File

@ -1318,7 +1318,7 @@ sibcall.o : sibcall.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) function.h \
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) \

View File

@ -354,6 +354,7 @@ extern int exception_table_p PARAMS ((void));
/* 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. */

View File

@ -53,6 +53,7 @@ static void gen_insn PARAMS ((rtx));
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.

View File

@ -773,7 +773,8 @@ from the machine description file `md'. */\n\n");
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");

View File

@ -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.");

View File

@ -28,9 +28,9 @@ Boston, MA 02111-1307, USA. */
#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"

View File

@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA. */
#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