m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
authorRichard Henderson <rth@gcc.gnu.org>
Mon, 26 Jul 1999 01:21:59 +0000 (18:21 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 26 Jul 1999 01:21:59 +0000 (18:21 -0700)
        * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
        * m88k.h, m88k.c: Likewise.
        * mn10300.h, mn10300.c: Likewise.
        * pa.h, pa.c: Likewise.
        * rs6000.h, rs6000.c: Likewise.
        * sh.h, sh.c: Likewise.
        * sparc.h, sparc.c: Likewise.

From-SVN: r28245

13 files changed:
gcc/config/m32r/m32r.h
gcc/config/m88k/m88k.c
gcc/config/m88k/m88k.h
gcc/config/mn10300/mn10300.c
gcc/config/mn10300/mn10300.h
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h

index 425b83cb20b88d228db18dd931a7a356c3af4792..b9de985e0c8433ba0e9f25348b7c1b667ebd5c27 100644 (file)
@@ -981,7 +981,7 @@ M32R_STACK_ALIGN (current_function_outgoing_args_size)
    If this macro is not defined, the compiler will output an ordinary
    call to the library function `__builtin_saveregs'.  */
 extern struct rtx *m32r_expand_builtin_savergs ();
-#define EXPAND_BUILTIN_SAVEREGS(ARGS) m32r_expand_builtin_saveregs (ARGS)
+#define EXPAND_BUILTIN_SAVEREGS() m32r_expand_builtin_saveregs ()
 #endif
 
 /* This macro offers an alternative
index 2814ccbbc6401635d0f6b79cf4e840271ebd52e2..b461782753a5fa8ebd4210e481e0dc695eaaa87c 100644 (file)
@@ -2573,14 +2573,12 @@ m88k_function_arg (args_so_far, mode, type, named)
                  2 + args_so_far);
 }
 \f
-/* Do what is necessary for `va_start'.  The argument is ignored;
-   We look at the current function to determine if stdargs or varargs
-   is used and fill in an initial va_list.  A pointer to this constructor
-   is returned.  */
+/* Do what is necessary for `va_start'.  We look at the current function
+   to determine if stdargs or varargs is used and fill in an initial
+   va_list.  A pointer to this constructor is returned.  */
 
 struct rtx_def *
-m88k_builtin_saveregs (arglist)
-     tree arglist;
+m88k_builtin_saveregs ()
 {
   rtx block, addr, argsize, dest;
   tree fntype = TREE_TYPE (current_function_decl);
index 66d218bc82bc646af5ee9514151bb97544dcbf24..2eb2b1f8a80df10a1e303d7c2bf3aca7f21dbc98 100644 (file)
@@ -198,13 +198,13 @@ extern char * reg_names[];
    Redefined in sysv4.h, and luna.h.  */
 #define VERSION_INFO1  "m88k, "
 #ifndef VERSION_INFO2
-#define VERSION_INFO2   "$Revision: 1.11 $"
+#define VERSION_INFO2   "$Revision: 1.12 $"
 #endif
 
 #ifndef VERSION_STRING
 #define VERSION_STRING  version_string
 #ifdef __STDC__
-#define TM_RCS_ID      "@(#)" __FILE__ " $Revision: 1.11 $ " __DATE__
+#define TM_RCS_ID      "@(#)" __FILE__ " $Revision: 1.12 $ " __DATE__
 #else
 #define TM_RCS_ID      "$What: <@(#) m88k.h,v  1.1.1.2.2.2> $"
 #endif  /* __STDC__ */
@@ -1093,7 +1093,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS,
 
 /* Generate necessary RTL for __builtin_saveregs().
    ARGLIST is the argument list; see expr.c.  */
-#define EXPAND_BUILTIN_SAVEREGS(ARGLIST) m88k_builtin_saveregs (ARGLIST)
+#define EXPAND_BUILTIN_SAVEREGS() m88k_builtin_saveregs ()
 
 /* Generate the assembly code for function entry. */
 #define FUNCTION_PROLOGUE(FILE, SIZE) m88k_begin_prologue(FILE, SIZE)
index 9f1ff842ab3c5da61bb403ec150a026f27b2d3a4..cd7559fb1cc276ee4c208f17b12e7492949b3d33 100644 (file)
@@ -627,8 +627,7 @@ initial_offset (from, to)
 /* Flush the argument registers to the stack for a stdarg function;
    return the new argument pointer.  */
 rtx
-mn10300_builtin_saveregs (arglist)
-     tree arglist;
+mn10300_builtin_saveregs ()
 {
   rtx offset;
   tree fntype = TREE_TYPE (current_function_decl);
index 3c2a6a7c37ad871209c3664d0c4d4c4ccabd983b..b7b64e593ce12127a55b86fe8bde9ec2e8c65164 100644 (file)
@@ -570,7 +570,7 @@ extern struct rtx_def *function_arg ();
    _builtin_saveregs, so we must make this explicit.  */
 
 extern struct rtx_def *mn10300_builtin_saveregs ();
-#define EXPAND_BUILTIN_SAVEREGS(ARGLIST) mn10300_builtin_saveregs (ARGLIST)
+#define EXPAND_BUILTIN_SAVEREGS() mn10300_builtin_saveregs ()
 
 /* Addressing modes, and classification of registers for them.  */
 
index 5db584c9dba28fe1fb27f8c38c88e41b3dd60341..0293ebe227659f9dcf5c26dc4074b30df9f13187 100644 (file)
@@ -4259,14 +4259,12 @@ function_arg_padding (mode, type)
 }
 
 \f
-/* Do what is necessary for `va_start'.  The argument is ignored;
-   We look at the current function to determine if stdargs or varargs
-   is used and fill in an initial va_list.  A pointer to this constructor
-   is returned.  */
+/* Do what is necessary for `va_start'.  We look at the current function
+   to determine if stdargs or varargs is used and fill in an initial
+   va_list.  A pointer to this constructor is returned.  */
 
 struct rtx_def *
-hppa_builtin_saveregs (arglist)
-     tree arglist ATTRIBUTE_UNUSED;
+hppa_builtin_saveregs ()
 {
   rtx offset, dest;
   tree fntype = TREE_TYPE (current_function_decl);
index 77c1345a5d447dce099aec15dfb8d050ddb67139..ce2e555d197a789ede50516eb2ec2e86785521b6 100644 (file)
@@ -1217,7 +1217,7 @@ extern union tree_node *current_function_decl;
    _builtin_saveregs, so we must make this explicit.  */
 
 extern struct rtx_def *hppa_builtin_saveregs ();
-#define EXPAND_BUILTIN_SAVEREGS(ARGLIST) hppa_builtin_saveregs (ARGLIST)
+#define EXPAND_BUILTIN_SAVEREGS() hppa_builtin_saveregs ()
 
 \f
 /* Addressing modes, and classification of registers for them. 
index 1215c13a05485cabe2b35625c7aec3c43f777c14..527fd04194ccf0b9a010a4c625996df255dde96d 100644 (file)
@@ -1758,12 +1758,6 @@ setup_incoming_varargs (cum, mode, type, pretend_size, no_rtl)
    are made.  The return value of this function should be an RTX that
    contains the value to use as the return of `__builtin_saveregs'.
 
-   The argument ARGS is a `tree_list' containing the arguments that
-   were passed to `__builtin_saveregs'.
-
-   If this macro is not defined, the compiler will output an ordinary
-   call to the library function `__builtin_saveregs'.
-   
    On the Power/PowerPC return the address of the area on the stack
    used to hold arguments.  Under AIX, this includes the 8 word register
    save area. 
@@ -1774,8 +1768,7 @@ setup_incoming_varargs (cum, mode, type, pretend_size, no_rtl)
    to a block copy.  This is similar to the way we do things on Alpha.  */
 
 struct rtx_def *
-expand_builtin_saveregs (args)
-     tree args ATTRIBUTE_UNUSED;
+expand_builtin_saveregs ()
 {
   rtx block, mem_gpr_fpr, mem_reg_save_area, mem_overflow, tmp;
   tree fntype;
index 4e5c9ac8af8e166b0c5275137166be69ba5bda25..04d00c7458c8aebca7a56698e4e282b1daafaeae 100644 (file)
@@ -1566,16 +1566,10 @@ typedef struct rs6000_args
    code for a call to `__builtin_saveregs'.  This code will be moved
    to the very beginning of the function, before any parameter access
    are made.  The return value of this function should be an RTX that
-   contains the value to use as the return of `__builtin_saveregs'.
+   contains the value to use as the return of `__builtin_saveregs'.  */
 
-   The argument ARGS is a `tree_list' containing the arguments that
-   were passed to `__builtin_saveregs'.
-
-   If this macro is not defined, the compiler will output an ordinary
-   call to the library function `__builtin_saveregs'.  */
-
-#define EXPAND_BUILTIN_SAVEREGS(ARGS) \
-  expand_builtin_saveregs (ARGS)
+#define EXPAND_BUILTIN_SAVEREGS() \
+  expand_builtin_saveregs ()
 
 /* This macro generates the assembly code for function entry.
    FILE is a stdio stream to output the code to.
index 7ebaa4dabfc1f5cfe658732a8c820b929167346f..12d093ca6a980aa5f48360bff573ab8f47959191 100644 (file)
@@ -3872,8 +3872,7 @@ function_epilogue (stream, size)
 }
 
 rtx
-sh_builtin_saveregs (arglist)
-     tree arglist;
+sh_builtin_saveregs ()
 {
   tree fntype = TREE_TYPE (current_function_decl);
   /* First unnamed integer register.  */
index e8ea3e49cfd21d78b0a89e3b17b946128381541d..23731abf5fd154c78ba88bb49740de08008069eb 100644 (file)
@@ -1153,10 +1153,9 @@ extern int current_function_anonymous_args;
    ? gen_rtx (MEM, Pmode, gen_rtx (REG, Pmode, RETURN_ADDRESS_POINTER_REGNUM)) \
    : (rtx) 0)
 \f
-/* Generate necessary RTL for __builtin_saveregs().
-   ARGLIST is the argument list; see expr.c.  */
+/* Generate necessary RTL for __builtin_saveregs().  */
 extern struct rtx_def *sh_builtin_saveregs ();
-#define EXPAND_BUILTIN_SAVEREGS(ARGLIST) sh_builtin_saveregs (ARGLIST)
+#define EXPAND_BUILTIN_SAVEREGS() sh_builtin_saveregs ()
 \f
 /* Addressing modes, and classification of registers for them.  */
 #define HAVE_POST_INCREMENT  1
index e38d71adf9a20b4ff193539105be90980c93ae4f..2609bf4aaedbba9e875dfe1229b5dcb4e451e87f 100644 (file)
@@ -4256,14 +4256,12 @@ function_value (type, mode, incoming_p)
   return gen_rtx_REG (mode, regno);
 }
 
-/* Do what is necessary for `va_start'.  The argument is ignored.
-
-   We look at the current function to determine if stdarg or varargs
-   is used and return the address of the first unnamed parameter.  */
+/* Do what is necessary for `va_start'.  We look at the current function
+   to determine if stdarg or varargs is used and return the address of
+   the first unnamed parameter.  */
 
 rtx
-sparc_builtin_saveregs (arglist)
-     tree arglist ATTRIBUTE_UNUSED;
+sparc_builtin_saveregs ()
 {
   int first_reg = current_function_args_info.words;
   rtx address;
index f75437b8fe1c3dfc449cb893ac60e3f57cfa1fc4..52f911a5245522a52fa51a9c7d5d9025d4088b13 100644 (file)
@@ -2039,11 +2039,10 @@ void sparc64_initialize_trampoline ();
     else                                                       \
       sparc_initialize_trampoline (TRAMP, FNADDR, CXT)
 \f
-/* Generate necessary RTL for __builtin_saveregs().
-   ARGLIST is the argument list; see expr.c.  */
+/* Generate necessary RTL for __builtin_saveregs().  */
 
 extern struct rtx_def *sparc_builtin_saveregs ();
-#define EXPAND_BUILTIN_SAVEREGS(ARGLIST) sparc_builtin_saveregs (ARGLIST)
+#define EXPAND_BUILTIN_SAVEREGS() sparc_builtin_saveregs ()
 
 /* Define this macro if the location where a function argument is passed
    depends on whether or not it is a named argument.