summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-11 22:57:39 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-11 22:57:39 +0000
commit5d0e87b7f7afa132927bdf223966b0c1669bbd3a (patch)
treec43bce09865b3f010119dd30139400a517b5cc3a
parentfa5a81447454a43a676f9c2b598db146833ff3b9 (diff)
downloadppe42-gcc-5d0e87b7f7afa132927bdf223966b0c1669bbd3a.tar.gz
ppe42-gcc-5d0e87b7f7afa132927bdf223966b0c1669bbd3a.zip
* Makefile.in (toplev.o): Depend on regs.h.
* output.h (tdesc_section): Prototype. * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED. * sdbout.c: Include "tm_p.h". * toplev.c: Include "regs.h". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31337 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/output.h6
-rw-r--r--gcc/regclass.c4
-rw-r--r--gcc/sdbout.c1
-rw-r--r--gcc/toplev.c1
6 files changed, 22 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 64280af6c59..6822d5c8415 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,15 @@
+2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Makefile.in (toplev.o): Depend on regs.h.
+
+ * output.h (tdesc_section): Prototype.
+
+ * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
+
+ * sdbout.c: Include "tm_p.h".
+
+ * toplev.c: Include "regs.h".
+
Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
* unroll.c (unroll_loop): Add EH support.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index e69f00b7eb0..932ab36a5e5 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1474,7 +1474,7 @@ toplev.o : toplev.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) function.h \
flags.h input.h insn-attr.h xcoffout.h defaults.h output.h \
insn-codes.h insn-config.h intl.h $(RECOG_H) Makefile toplev.h dwarfout.h \
dwarf2out.h sdbout.h dbxout.h $(EXPR_H) $(BASIC_BLOCK_H) graph.h loop.h \
- except.h $(lang_options_files)
+ except.h regs.h $(lang_options_files)
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \
-DTARGET_NAME=\"$(target_alias)\" \
-c `echo $(srcdir)/toplev.c | sed 's,^\./,,'`
diff --git a/gcc/output.h b/gcc/output.h
index 2af69da35a3..937c934e23f 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -1,6 +1,6 @@
/* Declarations for insn-output.c. These functions are defined in recog.c,
final.c, and varasm.c.
- Copyright (C) 1987, 1991, 1994, 97-98, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1991, 1994, 97-99, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -184,6 +184,10 @@ extern void init_section PARAMS ((void));
extern void fini_section PARAMS ((void));
#endif
+#ifdef TDESC_SECTION_ASM_OP
+extern void tdesc_section PARAMS ((void));
+#endif
+
#ifdef TREE_CODE
/* Tell assembler to change to section NAME for DECL.
If DECL is NULL, just switch to section NAME.
diff --git a/gcc/regclass.c b/gcc/regclass.c
index 06c2badfd23..dda4fac0722 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -1724,9 +1724,9 @@ record_reg_classes (n_alts, n_ops, ops, modes, subreg_changes_size,
static int
copy_cost (x, mode, class, to_p)
rtx x;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
enum reg_class class;
- int to_p;
+ int to_p ATTRIBUTE_UNUSED;
{
#ifdef HAVE_SECONDARY_RELOADS
enum reg_class secondary_class = NO_REGS;
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index ea33e8d80d0..5cd58612f6e 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -54,6 +54,7 @@ AT&T C compiler. From the example below I would conclude the following:
#include "reload.h"
#include "output.h"
#include "toplev.h"
+#include "tm_p.h"
/* Mips systems use the SDB functions to dump out symbols, but do not
supply usable syms.h include files. Which syms.h file to use is a
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 5388d1c1d94..4ddfc04bdad 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -58,6 +58,7 @@ Boston, MA 02111-1307, USA. */
#include "ggc.h"
#include "graph.h"
#include "loop.h"
+#include "regs.h"
#ifdef DWARF_DEBUGGING_INFO
#include "dwarfout.h"
OpenPOWER on IntegriCloud