summaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/mips-tdump.c')
-rw-r--r--gcc/mips-tdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c
index e133c0f8ac0..32f2bc23310 100644
--- a/gcc/mips-tdump.c
+++ b/gcc/mips-tdump.c
@@ -1011,9 +1011,10 @@ print_symbol (sym_ptr, number, strbase, aux_base, ifd, fdp)
if (MIPS_IS_STAB(sym_ptr))
{
- register int i = ARRAY_SIZE (stab_names);
+ int i = ARRAY_SIZE (stab_names);
const char *stab_name = "stab";
short code = MIPS_UNMARK_STAB(sym_ptr->index);
+
while (--i >= 0)
if (stab_names[i].code == code)
{