diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/mips/mips.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f5070f..8ba8226 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index ea1a41d..683e33a 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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 |
