Recent change to config/mips/mips-protos.h

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Wed Sep 19 23:15:00 GMT 2001


The recent change to config/mips/mips-protos.h

2001-09-15  Eric Christopher  <echristo@redhat.com>
	    Jason Eckhardt  <jle@redhat.com>

	* config/mips/mips-protos.h: Add mips_hard_regno_nregs.
	* config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.

has introduced a number of warnings when compiling caller-save.c that
inidicate that mips-protos.h is not included.  I couldn't work out how to
fix this.

The warnings from stage3 are:

.../gcc/caller-save.c: In function `setup_save_areas':
.../gcc/caller-save.c:285: warning: implicit declaration of function
`mips_hard_regno_nregs'
.../gcc/caller-save.c: In function `save_call_clobbered_regs':
.../gcc/caller-save.c:432: warning: function `mips_hard_regno_nregs' was
previously declared within a block
.../gcc/caller-save.c: In function `mark_set_regs':
.../gcc/caller-save.c:502: warning: function `mips_hard_regno_nregs' was
previously declared within a block

and so on



More information about the Gcc-bugs mailing list