* Re: egcs CVS 19980515, warning patch 1/4
@ 1998-05-19 9:03 Kaveh R. Ghazi
0 siblings, 0 replies; 4+ messages in thread
From: Kaveh R. Ghazi @ 1998-05-19 9:03 UTC (permalink / raw)
To: egcs, rth; +Cc: law, wilson
> From: Richard Henderson <rth@dot.cygnus.com>
> Subject: Re: egcs CVS 19980515, warning patch 1/4
>
> On Mon, May 18, 1998 at 11:40:45AM -0400, Kaveh R. Ghazi wrote:
> > * sparc.c: Include toplev.h.
>
> The sparc bits look fine. The rest as well, but the other
> was what I paid most attention to.
> r~
I took "the rest as well" to mean the whole thing was okay, even
though you hedged a little. So I installed parts 1-3 (part 4 already
having gone in with Jason's approval.)
--Kaveh
--
Kaveh R. Ghazi Project Manager / Custom Development
ghazi@caip.rutgers.edu Icon CMT Corp.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: egcs CVS 19980515, warning patch 1/4
1998-05-18 12:09 Kaveh R. Ghazi
1998-05-18 22:49 ` Richard Henderson
@ 1998-05-19 9:03 ` Jeffrey A Law
1 sibling, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1998-05-19 9:03 UTC (permalink / raw)
To: Kaveh R. Ghazi; +Cc: egcs
In message < 199805181540.LAA16909@caip.rutgers.edu >you write:
> This is warning patch part 1/4. Is it okay to install?
They looked OK to me.
jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: egcs CVS 19980515, warning patch 1/4
1998-05-18 12:09 Kaveh R. Ghazi
@ 1998-05-18 22:49 ` Richard Henderson
1998-05-19 9:03 ` Jeffrey A Law
1 sibling, 0 replies; 4+ messages in thread
From: Richard Henderson @ 1998-05-18 22:49 UTC (permalink / raw)
To: Kaveh R. Ghazi, egcs
On Mon, May 18, 1998 at 11:40:45AM -0400, Kaveh R. Ghazi wrote:
> * sparc.c: Include toplev.h.
The sparc bits look fine. The rest as well, but the other
was what I paid most attention to.
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
* egcs CVS 19980515, warning patch 1/4
@ 1998-05-18 12:09 Kaveh R. Ghazi
1998-05-18 22:49 ` Richard Henderson
1998-05-19 9:03 ` Jeffrey A Law
0 siblings, 2 replies; 4+ messages in thread
From: Kaveh R. Ghazi @ 1998-05-18 12:09 UTC (permalink / raw)
To: egcs
This is warning patch part 1/4. Is it okay to install?
--Kaveh
Sun May 17 19:50:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (print-rtl.o): Depend on bitmap.h.
(dbxout.o): Depend on toplev.h.
($(SCHED_PREFIX)sched.o): Likewise.
($(out_object_file)): Likewise for system.h and toplev.h.
(cppmain.o): Depend on gansidecl.h.
(cpplib.o): Likewise.
(cpperror.o): Likewise.
(cppexp.o): Likewise.
(cpphash.o): Likewise.
(cppalloc.o): Likewise.
(fix-header.o): Depend on cpplib.h and cpphash.h.
(scan-decls.o): Depend on gansidecl.h.
* basic-block.h (free_regset_vector): Add prototype.
* cccp.c (check_precompiled): Mark parameter `fname' with
ATTRIBUTE_UNUSED.
(do_assert): Likewise for `op' and `keyword'.
(do_unassert): Likewise.
(do_line): Likewise for `keyword'.
(do_error): Likewise for `op' and `keyword'.
(do_warning): Likewise.
(do_ident): Likewise for `keyword'.
(do_pragma): Likewise for `limit', `op' and `keyword'.
(do_sccs): Likewise.
(do_if): Likewise for `keyword'.
(do_elif): Likewise.
(do_else): Likewise.
(do_endif): Likewise.
* collect2.c (getenv): Remove redundant prototype.
(collect_exit, collect_execute, dump_file): Likewise.
(dump_list): Wrap prototype and definition in COLLECT_EXPORT_LIST.
(dump_prefix_list): Hide prototype and definition.
* sparc.c: Include toplev.h.
(intreg_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
(symbolic_memory_operand): Likewise.
(sp64_medium_pic_operand): Likewise.
(data_segment_operand): Likewise.
(text_segment_operand): Likewise.
(splittable_symbolic_memory_operand): Likewise.
(splittable_immediate_memory_operand): Likewise.
(eq_or_neq): Likewise.
(normal_comp_operator): Likewise.
(noov_compare_op): Likewise.
(v9_regcmp_op): Likewise.
(v8plus_regcmp_op): Likewise.
(extend_op): Likewise.
(cc_arithop): Likewise.
(cc_arithopn): Likewise.
(small_int): Likewise.
(uns_small_int): Likewise.
(clobbered_register): Likewise.
(legitimize_pic_address): Likewise.
(delay_operand): Likewise.
(sparc_builtin_saveregs): Remove unused variable `stdarg'.
* sparc.h (order_regs_for_local_alloc, eligible_for_return_delay,
sparc_issue_rate, v8plus_regcmp_p): Add prototypes.
* sparc.md (cmpdi_v8plus): Add abort for default case in switch.
diff -rup orig/egcs-C19980515/gcc/Makefile.in egcs-C19980515/gcc/Makefile.in
--- orig/egcs-C19980515/gcc/Makefile.in Fri May 15 09:45:12 1998
+++ egcs-C19980515/gcc/Makefile.in Sun May 17 10:20:45 1998
@@ -1344,7 +1344,7 @@ toplev.o : toplev.c $(CONFIG_H) system.h
rtl.o : rtl.c $(CONFIG_H) system.h $(RTL_H) bitmap.h
-print-rtl.o : print-rtl.c $(CONFIG_H) system.h $(RTL_H)
+print-rtl.o : print-rtl.c $(CONFIG_H) system.h $(RTL_H) bitmap.h
rtlanal.o : rtlanal.c $(CONFIG_H) system.h $(RTL_H)
varasm.o : varasm.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h \
@@ -1371,7 +1371,7 @@ explow.o : explow.c $(CONFIG_H) system.h
optabs.o : optabs.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
insn-flags.h insn-config.h insn-codes.h expr.h $(RECOG_H) reload.h
dbxout.o : dbxout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h regs.h \
- insn-config.h reload.h gstab.h xcoffout.h defaults.h output.h
+ insn-config.h reload.h gstab.h xcoffout.h defaults.h output.h toplev.h
sdbout.o : sdbout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h except.h \
function.h expr.h output.h hard-reg-set.h regs.h defaults.h real.h \
insn-config.h obstack.h xcoffout.h c-pragma.h
@@ -1437,7 +1437,8 @@ regmove.o : regmove.c $(CONFIG_H) system
insn-codes.h recog.h output.h reload.h regs.h hard-reg-set.h flags.h \
expr.h insn-flags.h
$(SCHED_PREFIX)sched.o : $(SCHED_PREFIX)sched.c $(CONFIG_H) system.h $(RTL_H) \
- $(BASIC_BLOCK_H) regs.h hard-reg-set.h flags.h insn-config.h insn-attr.h
+ $(BASIC_BLOCK_H) regs.h hard-reg-set.h flags.h insn-config.h insn-attr.h \
+ toplev.h
final.o : final.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h regs.h \
$(RECOG_H) conditions.h insn-config.h insn-attr.h except.h real.h output.h \
hard-reg-set.h insn-flags.h insn-codes.h gstab.h xcoffout.h defaults.h \
@@ -1450,7 +1451,7 @@ reg-stack.o : reg-stack.c $(CONFIG_H) sy
$(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) \
$(RTL_H) regs.h hard-reg-set.h real.h insn-config.h conditions.h \
- insn-flags.h output.h insn-attr.h insn-codes.h
+ insn-flags.h output.h insn-attr.h insn-codes.h system.h toplev.h
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(out_file)
# Build auxiliary files that support ecoff format.
@@ -1797,9 +1798,10 @@ cppmain$(exeext): cppmain.o cpplib.o cpp
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ cppmain.o cpplib.o cpphash.o \
cppalloc.o cpperror.o cppexp.o prefix.o version.o $(LIBS)
-cppmain.o: cppmain.c $(CONFIG_H) cpplib.h system.h
+cppmain.o: cppmain.c $(CONFIG_H) cpplib.h system.h gansidecl.h
-cpplib.o: cpplib.c $(CONFIG_H) cpplib.h cpphash.h config.status system.h
+cpplib.o: cpplib.c $(CONFIG_H) cpplib.h cpphash.h config.status system.h \
+ gansidecl.h
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"$(gxx_include_dir)\" \
@@ -1809,13 +1811,13 @@ cpplib.o: cpplib.c $(CONFIG_H) cpplib.h
-DTOOL_INCLUDE_DIR=\"$(tooldir)/include\" \
-c `echo $(srcdir)/cpplib.c | sed 's,^\./,,'`
-cpperror.o: cpperror.c $(CONFIG_H) cpplib.h system.h
+cpperror.o: cpperror.c $(CONFIG_H) cpplib.h system.h gansidecl.h
-cppexp.o: cppexp.c $(CONFIG_H) cpplib.h system.h
+cppexp.o: cppexp.c $(CONFIG_H) cpplib.h system.h gansidecl.h
-cpphash.o: cpphash.c cpplib.h cpphash.h $(CONFIG_H) system.h
+cpphash.o: cpphash.c cpplib.h cpphash.h $(CONFIG_H) system.h gansidecl.h
-cppalloc.o: cppalloc.c $(CONFIG_H) cpplib.h system.h
+cppalloc.o: cppalloc.c $(CONFIG_H) cpplib.h system.h gansidecl.h
# Note for the stamp targets, we run the program `true' instead of
# having an empty command (nothing following the semicolon).
@@ -2004,10 +2006,10 @@ fix-header: fix-header.o scan-decls.o sc
version.o cppexp.o $(HOST_LIBS)
fix-header.o: fix-header.c obstack.h scan.h xsys-protos.h $(build_xm_file) \
- system.h
+ system.h cpplib.h cpphash.h
$(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/fix-header.c
-scan-decls.o: scan-decls.c scan.h cpplib.h $(build_xm_file) system.h
+scan-decls.o: scan-decls.c scan.h cpplib.h $(build_xm_file) system.h gansidecl.h
$(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/scan-decls.c
# stmp-fixproto depends on this, not on fix-header directly.
diff -rup orig/egcs-C19980515/gcc/basic-block.h egcs-C19980515/gcc/basic-block.h
--- orig/egcs-C19980515/gcc/basic-block.h Fri May 15 09:45:15 1998
+++ egcs-C19980515/gcc/basic-block.h Sat May 16 17:32:20 1998
@@ -184,6 +184,7 @@ extern void free_int_list
#define EXIT_BLOCK (-2)
/* from flow.c */
+extern void free_regset_vector PROTO ((regset *, int nelts));
extern int *uid_block_number;
#define BLOCK_NUM(INSN) uid_block_number[INSN_UID (INSN)]
diff -rup orig/egcs-C19980515/gcc/cccp.c egcs-C19980515/gcc/cccp.c
--- orig/egcs-C19980515/gcc/cccp.c Fri May 15 09:45:22 1998
+++ egcs-C19980515/gcc/cccp.c Sat May 16 17:32:21 1998
@@ -5194,7 +5194,7 @@ static char *
check_precompiled (pcf, st, fname, limit)
int pcf;
struct stat *st;
- char *fname;
+ char *fname ATTRIBUTE_UNUSED;
char **limit;
{
int length = 0;
@@ -6190,8 +6190,8 @@ collect_expansion (buf, end, nargs, argl
static int
do_assert (buf, limit, op, keyword)
U_CHAR *buf, *limit;
- FILE_BUF *op;
- struct directive *keyword;
+ FILE_BUF *op ATTRIBUTE_UNUSED;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
U_CHAR *bp; /* temp ptr into input buffer */
U_CHAR *symname; /* remember where symbol name starts */
@@ -6267,8 +6267,8 @@ do_assert (buf, limit, op, keyword)
static int
do_unassert (buf, limit, op, keyword)
U_CHAR *buf, *limit;
- FILE_BUF *op;
- struct directive *keyword;
+ FILE_BUF *op ATTRIBUTE_UNUSED;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
U_CHAR *bp; /* temp ptr into input buffer */
U_CHAR *symname; /* remember where symbol name starts */
@@ -6599,7 +6599,7 @@ static int
do_line (buf, limit, op, keyword)
U_CHAR *buf, *limit;
FILE_BUF *op;
- struct directive *keyword;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
register U_CHAR *bp;
FILE_BUF *ip = &instack[indepth];
@@ -6788,8 +6788,8 @@ do_undef (buf, limit, op, keyword)
static int
do_error (buf, limit, op, keyword)
U_CHAR *buf, *limit;
- FILE_BUF *op;
- struct directive *keyword;
+ FILE_BUF *op ATTRIBUTE_UNUSED;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
int length = limit - buf;
U_CHAR *copy = (U_CHAR *) alloca (length + 1);
@@ -6807,8 +6807,8 @@ do_error (buf, limit, op, keyword)
static int
do_warning (buf, limit, op, keyword)
U_CHAR *buf, *limit;
- FILE_BUF *op;
- struct directive *keyword;
+ FILE_BUF *op ATTRIBUTE_UNUSED;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
int length = limit - buf;
U_CHAR *copy = (U_CHAR *) alloca (length + 1);
@@ -6846,7 +6846,7 @@ static int
do_ident (buf, limit, op, keyword)
U_CHAR *buf, *limit;
FILE_BUF *op;
- struct directive *keyword;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
FILE_BUF trybuf;
int len;
@@ -6875,9 +6875,9 @@ do_ident (buf, limit, op, keyword)
static int
do_pragma (buf, limit, op, keyword)
- U_CHAR *buf, *limit;
- FILE_BUF *op;
- struct directive *keyword;
+ U_CHAR *buf, *limit ATTRIBUTE_UNUSED;
+ FILE_BUF *op ATTRIBUTE_UNUSED;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
SKIP_WHITE_SPACE (buf);
if (!strncmp ((char *) buf, "once", 4)) {
@@ -6946,9 +6946,9 @@ nope:
static int
do_sccs (buf, limit, op, keyword)
- U_CHAR *buf, *limit;
- FILE_BUF *op;
- struct directive *keyword;
+ U_CHAR *buf ATTRIBUTE_UNUSED, *limit ATTRIBUTE_UNUSED;
+ FILE_BUF *op ATTRIBUTE_UNUSED;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
if (pedantic)
pedwarn ("ANSI C does not allow `#sccs'");
@@ -6972,7 +6972,7 @@ static int
do_if (buf, limit, op, keyword)
U_CHAR *buf, *limit;
FILE_BUF *op;
- struct directive *keyword;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
HOST_WIDE_INT value;
FILE_BUF *ip = &instack[indepth];
@@ -6989,7 +6989,7 @@ static int
do_elif (buf, limit, op, keyword)
U_CHAR *buf, *limit;
FILE_BUF *op;
- struct directive *keyword;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
HOST_WIDE_INT value;
FILE_BUF *ip = &instack[indepth];
@@ -7522,7 +7522,7 @@ static int
do_else (buf, limit, op, keyword)
U_CHAR *buf, *limit;
FILE_BUF *op;
- struct directive *keyword;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
FILE_BUF *ip = &instack[indepth];
@@ -7569,7 +7569,7 @@ static int
do_endif (buf, limit, op, keyword)
U_CHAR *buf, *limit;
FILE_BUF *op;
- struct directive *keyword;
+ struct directive *keyword ATTRIBUTE_UNUSED;
{
if (pedantic) {
SKIP_WHITE_SPACE (buf);
diff -rup orig/egcs-C19980515/gcc/collect2.c egcs-C19980515/gcc/collect2.c
--- orig/egcs-C19980515/gcc/collect2.c Fri May 15 09:45:23 1998
+++ egcs-C19980515/gcc/collect2.c Sat May 16 17:32:21 1998
@@ -245,7 +245,6 @@ char * temporary_firstobj;
/* Defined in the automatically-generated underscore.c. */
extern int prepends_underscore;
-extern char *getenv ();
extern char *mktemp ();
extern FILE *fdopen ();
@@ -279,9 +278,6 @@ static struct path_prefix *libpaths[3] =
static char *libexts[3] = {"a", "so", NULL}; /* possible library extentions */
#endif
-void collect_exit PROTO((int));
-void collect_execute PROTO((char *, char **, char *));
-void dump_file PROTO((char *));
static void handler PROTO((int));
static int is_ctor_dtor PROTO((char *));
static char *find_a_file PROTO((struct path_prefix *, char *));
@@ -293,8 +289,12 @@ static void fork_execute PROTO((char *,
static void maybe_unlink PROTO((char *));
static void add_to_list PROTO((struct head *, char *));
static void write_list PROTO((FILE *, char *, struct id *));
+#ifdef COLLECT_EXPORT_LIST
static void dump_list PROTO((FILE *, char *, struct id *));
+#endif
+#if 0
static void dump_prefix_list PROTO((FILE *, char *, struct prefix_list *));
+#endif
static void write_list_with_asm PROTO((FILE *, char *, struct id *));
static void write_c_file PROTO((FILE *, char *));
static void scan_prog_file PROTO((char *, enum pass));
@@ -1775,6 +1775,7 @@ is_in_list (prefix, list)
#endif
/* Added for debugging purpose. */
+#ifdef COLLECT_EXPORT_LIST
static void
dump_list (stream, prefix, list)
FILE *stream;
@@ -1787,7 +1788,9 @@ dump_list (stream, prefix, list)
list = list->next;
}
}
+#endif
+#if 0
static void
dump_prefix_list (stream, prefix, list)
FILE *stream;
@@ -1800,6 +1803,7 @@ dump_prefix_list (stream, prefix, list)
list = list->next;
}
}
+#endif
static void
write_list_with_asm (stream, prefix, list)
diff -rup orig/egcs-C19980515/gcc/config/sparc/sparc.c egcs-C19980515/gcc/config/sparc/sparc.c
--- orig/egcs-C19980515/gcc/config/sparc/sparc.c Fri May 15 09:44:50 1998
+++ egcs-C19980515/gcc/config/sparc/sparc.c Sat May 16 17:32:21 1998
@@ -36,6 +36,7 @@ Boston, MA 02111-1307, USA. */
#include "flags.h"
#include "expr.h"
#include "recog.h"
+#include "toplev.h"
/* 1 if the caller has placed an "unimp" insn immediately after the call.
This is used in v8 code when calling a function that returns a structure.
@@ -400,7 +401,7 @@ fp_zero_operand (op)
int
intreg_operand (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
return (register_operand (op, SImode)
|| (TARGET_ARCH64 && register_operand (op, DImode)));
@@ -520,7 +521,7 @@ symbolic_operand (op, mode)
int
symbolic_memory_operand (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
if (GET_CODE (op) == SUBREG)
op = SUBREG_REG (op);
@@ -551,7 +552,7 @@ label_ref_operand (op, mode)
int
sp64_medium_pic_operand (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
/* Check for (const (minus (symbol_ref:GOT)
(const (minus (label) (pc))))). */
@@ -578,7 +579,7 @@ sp64_medium_pic_operand (op, mode)
int
data_segment_operand (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
switch (GET_CODE (op))
{
@@ -600,7 +601,7 @@ data_segment_operand (op, mode)
int
text_segment_operand (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
switch (GET_CODE (op))
{
@@ -686,7 +687,7 @@ move_operand (op, mode)
int
splittable_symbolic_memory_operand (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
if (GET_CODE (op) != MEM)
return 0;
@@ -698,7 +699,7 @@ splittable_symbolic_memory_operand (op,
int
splittable_immediate_memory_operand (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
if (GET_CODE (op) != MEM)
return 0;
@@ -712,7 +713,7 @@ splittable_immediate_memory_operand (op,
int
eq_or_neq (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
return (GET_CODE (op) == EQ || GET_CODE (op) == NE);
}
@@ -723,7 +724,7 @@ eq_or_neq (op, mode)
int
normal_comp_operator (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
enum rtx_code code = GET_CODE (op);
@@ -743,7 +744,7 @@ normal_comp_operator (op, mode)
int
noov_compare_op (op, mode)
register rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
enum rtx_code code = GET_CODE (op);
@@ -762,7 +763,7 @@ noov_compare_op (op, mode)
int
v9_regcmp_op (op, mode)
register rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
enum rtx_code code = GET_CODE (op);
@@ -775,7 +776,7 @@ v9_regcmp_op (op, mode)
int
v8plus_regcmp_op (op, mode)
register rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
enum rtx_code code = GET_CODE (op);
@@ -787,7 +788,7 @@ v8plus_regcmp_op (op, mode)
int
extend_op (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
return GET_CODE (op) == SIGN_EXTEND || GET_CODE (op) == ZERO_EXTEND;
}
@@ -799,7 +800,7 @@ extend_op (op, mode)
int
cc_arithop (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
if (GET_CODE (op) == AND
|| GET_CODE (op) == IOR
@@ -815,7 +816,7 @@ cc_arithop (op, mode)
int
cc_arithopn (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
/* XOR is not here because combine canonicalizes (xor (not ...) ...)
and (xor ... (not ...)) to (not (xor ...)). */
@@ -947,7 +948,7 @@ arith10_double_operand (op, mode)
int
small_int (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
return (GET_CODE (op) == CONST_INT && SMALL_INT (op));
}
@@ -959,7 +960,7 @@ small_int (op, mode)
int
uns_small_int (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
#if HOST_BITS_PER_WIDE_INT > 32
/* All allowed constants will fit a CONST_INT. */
@@ -986,7 +987,7 @@ uns_arith_operand (op, mode)
int
clobbered_register (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
return (GET_CODE (op) == REG && call_used_regs[REGNO (op)]);
}
@@ -1433,7 +1434,7 @@ pic_address_needs_scratch (x)
rtx
legitimize_pic_address (orig, mode, reg)
rtx orig;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
rtx reg;
{
if (GET_CODE (orig) == SYMBOL_REF)
@@ -4669,9 +4670,6 @@ sparc_builtin_saveregs (arglist)
tree arglist;
{
tree fntype = TREE_TYPE (current_function_decl);
- int stdarg = (TYPE_ARG_TYPES (fntype) != 0
- && (TREE_VALUE (tree_last (TYPE_ARG_TYPES (fntype)))
- != void_type_node));
int first_reg = current_function_args_info.words;
rtx address;
int regno;
@@ -6801,7 +6799,7 @@ sparc_return_peephole_ok (dest, src)
int
delay_operand (op, mode)
rtx op;
- enum machine_mode mode;
+ enum machine_mode mode ATTRIBUTE_UNUSED;
{
switch (GET_CODE (op))
{
diff -rup orig/egcs-C19980515/gcc/config/sparc/sparc.h egcs-C19980515/gcc/config/sparc/sparc.h
--- orig/egcs-C19980515/gcc/config/sparc/sparc.h Fri May 15 09:44:50 1998
+++ egcs-C19980515/gcc/config/sparc/sparc.h Sat May 16 17:32:21 1998
@@ -3207,6 +3207,7 @@ extern char *singlemove_string ();
extern void emit_v9_brxx_insn ();
extern void finalize_pic ();
+extern void order_regs_for_local_alloc ();
extern void output_double_int ();
extern void output_function_epilogue ();
extern void output_function_prologue ();
@@ -3228,6 +3229,7 @@ extern int check_pic ();
extern int compute_frame_size ();
extern int data_segment_operand ();
extern int eligible_for_epilogue_delay ();
+extern int eligible_for_return_delay ();
extern int emit_move_sequence ();
extern int extend_op ();
extern int fcc_reg_operand ();
@@ -3249,6 +3251,7 @@ extern int small_int ();
extern int sp64_medium_pic_operand ();
extern int sparc_flat_eligible_for_epilogue_delay ();
extern int sparc_flat_epilogue_delay_slots ();
+extern int sparc_issue_rate ();
extern int sparc_operand ();
extern int splittable_immediate_memory_operand ();
extern int splittable_symbolic_memory_operand ();
@@ -3258,6 +3261,7 @@ extern int symbolic_operand ();
extern int text_segment_operand ();
extern int ultrasparc_adjust_cost ();
extern int uns_small_int ();
+extern int v8plus_regcmp_p ();
extern int v9_regcmp_op ();
extern int v9_regcmp_p ();
diff -rup orig/egcs-C19980515/gcc/config/sparc/sparc.md egcs-C19980515/gcc/config/sparc/sparc.md
--- orig/egcs-C19980515/gcc/config/sparc/sparc.md Fri May 15 09:44:51 1998
+++ egcs-C19980515/gcc/config/sparc/sparc.md Sat May 16 17:32:21 1998
@@ -567,6 +567,8 @@
if (sparc_check_64 (operands[1], insn) <= 0)
output_asm_insn (\"srl %L1,0,%L1\", operands);
return \"sllx %H1,32,%3\;or %L0,%2,%2\;or %L1,%3,%3\;cmp %2,%3\";
+ default:
+ abort();
}
}"
[(set_attr "length" "3,4,7")])
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-05-19 9:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-19 9:03 egcs CVS 19980515, warning patch 1/4 Kaveh R. Ghazi
-- strict thread matches above, loose matches on Subject: below --
1998-05-18 12:09 Kaveh R. Ghazi
1998-05-18 22:49 ` Richard Henderson
1998-05-19 9:03 ` Jeffrey A Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).