projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3673e99
)
(sparc_builtin_saveregs): Don't set first_reg to zero for varargs.
author
Richard Stallman
<rms@gnu.org>
Mon, 31 May 1993 04:10:28 +0000
(
04:10
+0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 31 May 1993 04:10:28 +0000
(
04:10
+0000)
From-SVN: r4603
gcc/config/sparc/sparc.c
patch
|
blob
|
history
diff --git
a/gcc/config/sparc/sparc.c
b/gcc/config/sparc/sparc.c
index
7574426
..
e8f831c
100644
(file)
--- 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,