diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 1998-02-10 09:05:42 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 1998-02-10 04:05:42 -0500 |
commit | 60e2d0ca3d09c014132236310624f2a08560acd1 (patch) | |
tree | 5d1f8bf718a7eed65d7f1bd641bf46d20906dad7 /gcc/config/rs6000 | |
parent | b45f3a91b911ec93cc9dd386e911b5771a637c3f (diff) | |
download | gcc-60e2d0ca3d09c014132236310624f2a08560acd1.zip gcc-60e2d0ca3d09c014132236310624f2a08560acd1.tar.gz gcc-60e2d0ca3d09c014132236310624f2a08560acd1.tar.bz2 |
rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
From-SVN: r17825
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 34964a5..8b7f340 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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) { |