On Tue, 2012-12-11 at 21:52 +0000, Richard Sandiford wrote:

> > +  mips_dbx_regno[CPRESTORE_SLOT_REGNUM] = IGNORED_DWARF_REGNUM;


> If even fake registers like these are going to be used, then I think
> we should initialise to IGNORED_DWARF_REGNUM rather than INVALID_REGNUM in:
> 
>   for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
>     {
>       mips_dbx_regno[i] = INVALID_REGNUM;
>       ...
>     }
> 
> and remove the ALL_COP_REG loop that was in the earlier patch.
> 
> Richard

So far, this is the only fake register that I have seen show up while
building GCC, glibc, newlib, binutils, etc.  I am not sure if we want to
set all fake registers to IGNORED because of this one case.  If more
popped up then I could see us making that change.

Steve Ellcey
sell...@mips.com

Reply via email to