Commit 918e70dd by Alexandre Oliva Committed by Alexandre Oliva

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
parent 7e326356
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> 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.c (arith_4096_operand): Fix error in last change. * sparc.c (arith_4096_operand): Fix error in last change.
......
...@@ -7225,6 +7225,10 @@ mips_expand_prologue () ...@@ -7225,6 +7225,10 @@ mips_expand_prologue ()
"va_alist")))) "va_alist"))))
{ {
last_arg_is_vararg_marker = 1; last_arg_is_vararg_marker = 1;
if (GET_CODE (entry_parm) == REG)
regno = REGNO (entry_parm);
else
regno = GP_ARG_LAST + 1;
break; break;
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment