mips.c (mips_option_override): Set mips_dbx_regno entries to IGNORED_DWARF_REGNUM by default.

2012-12-12  Steve Ellcey  <sellcey@mips.com>

	* config/mips/mips.c (mips_option_override): Set
	mips_dbx_regno entries to IGNORED_DWARF_REGNUM by default.

From-SVN: r194453
This commit is contained in:
Steve Ellcey 2012-12-12 21:14:31 +00:00 committed by Steve Ellcey
parent b488a2c757
commit 22eab31ac5
2 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2012-12-12 Steve Ellcey <sellcey@mips.com>
* config/mips/mips.c (mips_option_override): Set
mips_dbx_regno entries to IGNORED_DWARF_REGNUM by default.
2012-12-12 Steven Bosscher <steven@gcc.gnu.org>
* graph.c: Include sbitmap.h and cfgloop.h.

View file

@ -16742,7 +16742,7 @@ mips_option_override (void)
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
{
mips_dbx_regno[i] = INVALID_REGNUM;
mips_dbx_regno[i] = IGNORED_DWARF_REGNUM;
if (GP_REG_P (i) || FP_REG_P (i) || ALL_COP_REG_P (i))
mips_dwarf_regno[i] = i;
else
@ -16757,9 +16757,6 @@ mips_option_override (void)
for (i = FP_REG_FIRST; i <= FP_REG_LAST; i++)
mips_dbx_regno[i] = i + start;
for (i = ALL_COP_REG_FIRST; i <= ALL_COP_REG_LAST; i++)
mips_dbx_regno[i] = IGNORED_DWARF_REGNUM;
/* Accumulator debug registers use big-endian ordering. */
mips_dbx_regno[HI_REGNUM] = MD_DBX_FIRST + 0;
mips_dbx_regno[LO_REGNUM] = MD_DBX_FIRST + 1;