mips.c (mips_expand_prologue): Set regno of vararg marker such that registers after it are saved.

* config/mips/mips.c (mips_expand_prologue): Set regno of vararg
marker such that registers after it are saved.

From-SVN: r50475
This commit is contained in:
Alexandre Oliva 2002-03-09 04:03:03 +00:00 committed by Alexandre Oliva
parent 7e326356d8
commit 918e70dd19
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-03-09 Alexandre Oliva <aoliva@redhat.com>
* config/mips/mips.c (mips_expand_prologue): Set regno of vararg
marker such that registers after it are saved.
2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.c (arith_4096_operand): Fix error in last change.

View File

@ -7225,6 +7225,10 @@ mips_expand_prologue ()
"va_alist"))))
{
last_arg_is_vararg_marker = 1;
if (GET_CODE (entry_parm) == REG)
regno = REGNO (entry_parm);
else
regno = GP_ARG_LAST + 1;
break;
}
else