2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-10 06:40:29 +08:00

rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.

From-SVN: r17825
This commit is contained in:
Richard Kenner 1998-02-10 09:05:42 +00:00 committed by David Edelsohn
parent b45f3a91b9
commit 60e2d0ca3d
2 changed files with 10 additions and 3 deletions
gcc
ChangeLog
config/rs6000

@ -1,3 +1,7 @@
Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical

@ -1,5 +1,5 @@
/* Subroutines used for code generation on IBM RS/6000.
Copyright (C) 1991, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
Copyright (C) 1991, 93-7, 1998 Free Software Foundation, Inc.
Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
This file is part of GNU CC.
@ -1486,11 +1486,14 @@ setup_incoming_varargs (cum, mode, type, pretend_size, no_rtl)
"setup_vararg: words = %2d, fregno = %2d, nargs = %4d, proto = %d, mode = %4s, no_rtl= %d\n",
cum->words, cum->fregno, cum->nargs_prototype, cum->prototype, GET_MODE_NAME (mode), no_rtl);
if ((DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_SOLARIS) && !no_rtl)
if (DEFAULT_ABI == ABI_V4 || DEFAULT_ABI == ABI_SOLARIS)
{
rs6000_sysv_varargs_p = 1;
save_area = plus_constant (frame_pointer_rtx, RS6000_VARARGS_OFFSET);
if (! no_rtl)
save_area = plus_constant (frame_pointer_rtx, RS6000_VARARGS_OFFSET);
}
else
rs6000_sysv_varargs_p = 0;
if (cum->words < 8)
{