aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog34
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/except.h1
-rw-r--r--gcc/genconfig.c1
-rw-r--r--gcc/genemit.c3
-rw-r--r--gcc/genoutput.c5
-rw-r--r--gcc/recog.c2
-rw-r--r--gcc/resource.c1
8 files changed, 44 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 91ac616..bed3c03 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index b8bbfa1..8640756 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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) \
diff --git a/gcc/except.h b/gcc/except.h
index f4db7d2..b6450d3 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -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. */
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index e7964ab..01bbd81 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -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.
diff --git a/gcc/genemit.c b/gcc/genemit.c
index 54793d4..2b3c5da 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -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");
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.");
diff --git a/gcc/recog.c b/gcc/recog.c
index 8760041..ed4b135 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -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"
diff --git a/gcc/resource.c b/gcc/resource.c
index af1b4ed..ae89d62 100644
--- a/gcc/resource.c
+++ b/gcc/resource.c
@@ -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