]> gcc.gnu.org Git - gcc.git/commitdiff
rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Tue, 10 Feb 1998 09:05:42 +0000 (09:05 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 10 Feb 1998 09:05:42 +0000 (04:05 -0500)
From-SVN: r17825

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 56cd65e77b5205f9eeb258efdf44a412f59565a0..c6640604fad7cf1e924665ef5276eafec6fb1b1d 100644 (file)
@@ -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
index 34964a50fbaced199261d285a3793d7db2d022eb..8b7f340cfec638dcb94c3f7a1b75a47ed89698ad 100644 (file)
@@ -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)
     {
This page took 0.07701 seconds and 5 git commands to generate.