From: Kaveh R. Ghazi Date: Tue, 11 Jan 2000 22:57:39 +0000 (+0000) Subject: Makefile.in (toplev.o): Depend on regs.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0af450df245b398eafc4338bc064e94801bde1e;p=gcc.git Makefile.in (toplev.o): Depend on regs.h. * 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". From-SVN: r31337 --- 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 + + * 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 * 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"