diff options
author | Richard Stallman <rms@gnu.org> | 1993-05-31 04:10:28 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-05-31 04:10:28 +0000 |
commit | 227f7fd95bb6acb695e2b9820db8f5b503ca5e19 (patch) | |
tree | 5f0753195d4e58540a0814ac1b805df0c4c5354d | |
parent | 3673e9965bf877938413b645e6b188edd72fe383 (diff) | |
download | gcc-227f7fd95bb6acb695e2b9820db8f5b503ca5e19.zip gcc-227f7fd95bb6acb695e2b9820db8f5b503ca5e19.tar.gz gcc-227f7fd95bb6acb695e2b9820db8f5b503ca5e19.tar.bz2 |
(sparc_builtin_saveregs): Don't set first_reg to zero for varargs.
From-SVN: r4603
-rw-r--r-- | gcc/config/sparc/sparc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 7574426d..e8f831c 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -2260,8 +2260,11 @@ sparc_builtin_saveregs (arglist) rtx address; int regno; +#if 0 /* This code seemed to have no effect except to make + varargs not work right when va_list wasn't the first arg. */ if (! stdarg) first_reg = 0; +#endif for (regno = first_reg; regno < NPARM_REGS; regno++) emit_move_insn (gen_rtx (MEM, word_mode, |