mips-sgi-irix6.5 bootstrap of 4.1 fails in stage2 when compiling config/mips.c
cc1: warnings being treated as errors
/disk4/billingd/src/gcc/gcc/config/mips/mips.c:4176: warning: no previous
prototype for 'mips_use_ins_ext_p'
This function was introduced by
2005-05-26 David Ung <[EMAIL PROTECTED]>
* config/mips/mips.c (mips_use_ins_ext_p): New helper function
that determines whether the MIPS32/64 R2 ext/ins should be used.
Declaring the function as static in mips.c doesn't work, as then we get a
warning about unused functions. The patch below enables bootstrap to
continue, but I don't think it is correct.
--- mips.c 27 May 2005 23:08:31 -0000 1.507
+++ mips.c 1 Jun 2005 01:07:11 -0000
@@ -369,6 +369,7 @@
static rtx mips_expand_builtin_compare (enum mips_builtin_type,
enum insn_code, enum mips_fp_condition,
rtx, tree);
+bool mips_use_ins_ext_p (rtx op, rtx size, rtx position);
/* Structure to be filled in by compute_frame_size with register
save masks, and offsets for the current function. */
--
Summary: irix6.5 bootstrap fails due to warning in mips.c
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: davidu at mips dot com
ReportedBy: billingd at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21854