This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patches installed for warnings
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Patches installed for warnings
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Tue, 11 Jan 2000 17:58:18 -0500 (EST)
More warning nits installed.
--Kaveh
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.5391
diff -u -p -r1.5391 ChangeLog
--- ChangeLog 2000/01/11 19:51:19 1.5391
+++ ChangeLog 2000/01/11 22:56:40
@@ -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.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.361
diff -u -p -r1.361 Makefile.in
--- Makefile.in 2000/01/11 00:12:38 1.361
+++ Makefile.in 2000/01/11 22:56:43
@@ -1474,7 +1474,7 @@ toplev.o : toplev.c $(CONFIG_H) system.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,^\./,,'`
Index: output.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/output.h,v
retrieving revision 1.39
diff -u -p -r1.39 output.h
--- output.h 1999/12/15 14:17:59 1.39
+++ output.h 2000/01/11 22:56:44
@@ -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.
@@ -182,6 +182,10 @@ extern void init_section PARAMS ((void))
#ifdef FINI_SECTION_ASM_OP
extern void fini_section PARAMS ((void));
+#endif
+
+#ifdef TDESC_SECTION_ASM_OP
+extern void tdesc_section PARAMS ((void));
#endif
#ifdef TREE_CODE
Index: regclass.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/regclass.c,v
retrieving revision 1.89
diff -u -p -r1.89 regclass.c
--- regclass.c 2000/01/06 20:25:41 1.89
+++ regclass.c 2000/01/11 22:56:46
@@ -1724,9 +1724,9 @@ record_reg_classes (n_alts, n_ops, ops,
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;
Index: sdbout.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/sdbout.c,v
retrieving revision 1.23
diff -u -p -r1.23 sdbout.c
--- sdbout.c 2000/01/10 23:48:02 1.23
+++ sdbout.c 2000/01/11 22:56:47
@@ -54,6 +54,7 @@ AT&T C compiler. From the example below
#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
Index: toplev.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/toplev.c,v
retrieving revision 1.278
diff -u -p -r1.278 toplev.c
--- toplev.c 2000/01/09 14:23:35 1.278
+++ toplev.c 2000/01/11 22:56:50
@@ -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"