This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] Fix PR target/21854 mips bootstrap failure
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: "Billinghurst, David \(CALCRTS\)" <david dot billinghurst at comalco dot riotinto dot com dot au>
- Cc: <gcc-patches at gcc dot gnu dot org>, davidu at mips dot com
- Date: Wed, 01 Jun 2005 07:19:39 +0100
- Subject: Re: [committed] Fix PR target/21854 mips bootstrap failure
- References: <026DCC31AB859648A6F16C0E5CD2580D308B3F@calttsv025.cal.riotinto.org>
"Billinghurst, David \(CALCRTS\)" <david.billinghurst@comalco.riotinto.com.au> writes:
> I have committed the following as obvious. It fixes a bootstrap
> failure on mips-sgi-irix6.5.
>
> 2005-06-01 David.Billinghurst <David.Billinghurst@riotinto.com>
>
> PR target/21854
> * config/mips/mips-protos.h: Declare mips_use_ins_ext_p
Thanks. [David U.: if you don't have a linux target you can bootstrap on,
you should consider building your cross tools with a recent version of gcc
and using --enable-werror-always. Failing that, you should at least check
the build log for warnings.]
Anyway:
> +extern bool mips_use_ins_ext_p (rtx op, rtx size, rtx position);
I removed the parameter names to make the prototype consistent with
the others in mips-protos.h. Tested with an --enable-werror-always
cross build to mips64-elf.
Richard
* config/mips/mips-protos.h (mips_use_ins_ext_p): Remove parameter
names.
Index: config/mips/mips-protos.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips-protos.h,v
retrieving revision 1.86
diff -c -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.86 mips-protos.h
*** config/mips/mips-protos.h 1 Jun 2005 03:04:31 -0000 1.86
--- config/mips/mips-protos.h 1 Jun 2005 06:02:02 -0000
*************** extern rtx mips_prefetch_cookie (rtx, rt
*** 222,227 ****
extern void irix_asm_output_align (FILE *, unsigned);
extern const char *current_section_name (void);
extern unsigned int current_section_flags (void);
! extern bool mips_use_ins_ext_p (rtx op, rtx size, rtx position);
#endif /* ! GCC_MIPS_PROTOS_H */
--- 222,227 ----
extern void irix_asm_output_align (FILE *, unsigned);
extern const char *current_section_name (void);
extern unsigned int current_section_flags (void);
! extern bool mips_use_ins_ext_p (rtx, rtx, rtx);
#endif /* ! GCC_MIPS_PROTOS_H */