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

Eric Christopher echristo@twigboy.cygnus.com
Wed Sep 19 23:53:00 GMT 2001


Yup.  I just noticed and I've got a patch as soon as I've got a real net
connection that I can use again.  Sorry about the warnings. 

-eric

On Thu, 20 Sep 2001, Billinghurst, David (CRTS) wrote:

> 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
> 

-- 
Look out behind you!



More information about the Gcc-bugs mailing list