]> gcc.gnu.org Git - gcc.git/commitdiff
* config/arc/arc.h, config/fr30/fr30.h
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 4 Feb 2004 06:07:39 +0000 (06:07 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 4 Feb 2004 06:07:39 +0000 (06:07 +0000)
(SETUP_INCOMING_VARARGS): Remove the target-independent
comments.
* doc/tm.texi: Don't mention deprecated target macros.

From-SVN: r77221

gcc/ChangeLog
gcc/config/arc/arc.h
gcc/config/fr30/fr30.h
gcc/doc/tm.texi

index e67f9db0286ed136248e8fdf0f83920e08d18429..52e98f14f2b143ab8f8007570cfb12352a0a68ff 100644 (file)
@@ -1,3 +1,10 @@
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/arc/arc.h, config/fr30/fr30.h
+       (SETUP_INCOMING_VARARGS): Remove the target-independent
+       comments.
+       * doc/tm.texi: Don't mention deprecated target macros.
+
 2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/fr30/fr30.h (FUNCTION_VALUE): Remove the
index 5171849fcbe78bb2c46874144a74fbb0430425e1..bd0992c832d41d557b4468a8299a89d2c7c2b36d 100644 (file)
@@ -732,33 +732,6 @@ FUNCTION_ARG_PASS_BY_REFERENCE ((CUM), (MODE), (TYPE), (NAMED))
  ? PARM_BOUNDARY \
  : 2 * PARM_BOUNDARY)
 
-/* This macro offers an alternative
-   to using `__builtin_saveregs' and defining the macro
-   `EXPAND_BUILTIN_SAVEREGS'.  Use it to store the anonymous register
-   arguments into the stack so that all the arguments appear to have
-   been passed consecutively on the stack.  Once this is done, you
-   can use the standard implementation of varargs that works for
-   machines that pass all their arguments on the stack.
-
-   The argument ARGS_SO_FAR is the `CUMULATIVE_ARGS' data structure,
-   containing the values that obtain after processing of the named
-   arguments.  The arguments MODE and TYPE describe the last named
-   argument--its machine mode and its data type as a tree node.
-
-   The macro implementation should do two things: first, push onto the
-   stack all the argument registers *not* used for the named
-   arguments, and second, store the size of the data thus pushed into
-   the `int'-valued variable whose name is supplied as the argument
-   PRETEND_SIZE.  The value that you store here will serve as
-   additional offset for setting up the stack frame.
-
-   If the argument NO_RTL is nonzero, it means that the
-   arguments of the function are being analyzed for the second time.
-   This happens for an inline function, which is not actually
-   compiled until the end of the source file.  The macro
-   `SETUP_INCOMING_VARARGS' should not generate any instructions in
-   this case.  */
-
 #define SETUP_INCOMING_VARARGS(ARGS_SO_FAR, MODE, TYPE, PRETEND_SIZE, NO_RTL) \
 arc_setup_incoming_varargs(&ARGS_SO_FAR, MODE, TYPE, &PRETEND_SIZE, NO_RTL)
 \f
index 2a4a886de45d6e037cf7134d56676f7da36b9507..8c9841d9b8305ec366cfddb89f194767022e43c6 100644 (file)
@@ -848,34 +848,6 @@ enum reg_class
 /*}}}*/ \f
 /*{{{  Implementing the VARARGS Macros.  */ 
 
-/* This macro offers an alternative to using `__builtin_saveregs' and defining
-   the macro `EXPAND_BUILTIN_SAVEREGS'.  Use it to store the anonymous register
-   arguments into the stack so that all the arguments appear to have been
-   passed consecutively on the stack.  Once this is done, you can use the
-   standard implementation of varargs that works for machines that pass all
-   their arguments on the stack.
-
-   The argument ARGS_SO_FAR is the `CUMULATIVE_ARGS' data structure, containing
-   the values that obtain after processing of the named arguments.  The
-   arguments MODE and TYPE describe the last named argument--its machine mode
-   and its data type as a tree node.
-
-   The macro implementation should do two things: first, push onto the stack
-   all the argument registers *not* used for the named arguments, and second,
-   store the size of the data thus pushed into the `int'-valued variable whose
-   name is supplied as the argument PRETEND_ARGS_SIZE.  The value that you
-   store here will serve as additional offset for setting up the stack frame.
-
-   Because you must generate code to push the anonymous arguments at compile
-   time without knowing their data types, `SETUP_INCOMING_VARARGS' is only
-   useful on machines that have just a single category of argument register and
-   use it uniformly for all data types.
-
-   If the argument SECOND_TIME is nonzero, it means that the arguments of the
-   function are being analyzed for the second time.  This happens for an inline
-   function, which is not actually compiled until the end of the source file.
-   The macro `SETUP_INCOMING_VARARGS' should not generate any instructions in
-   this case.  */
 #define SETUP_INCOMING_VARARGS(ARGS_SO_FAR, MODE, TYPE, PRETEND_ARGS_SIZE, SECOND_TIME) \
   if (! SECOND_TIME) \
     fr30_setup_incoming_varargs (ARGS_SO_FAR, MODE, TYPE, & PRETEND_ARGS_SIZE)
index d41a5861bef3232c7e684e02ba37fd2f4d4b1629..cb32cc38acd82944b976b532d037ce9cbf7e5d9d 100644 (file)
@@ -4398,9 +4398,9 @@ versions of @code{va_start} must use @code{__builtin_saveregs}, unless
 you use @code{SETUP_INCOMING_VARARGS} (see below) instead.
 
 On some machines, @code{__builtin_saveregs} is open-coded under the
-control of the macro @code{EXPAND_BUILTIN_SAVEREGS}.  On other machines,
-it calls a routine written in assembler language, found in
-@file{libgcc2.c}.
+control of the target hook @code{TARGET_EXPAND_BUILTIN_SAVEREGS}.  On
+other machines, it calls a routine written in assembler language,
+found in @file{libgcc2.c}.
 
 Code generated for the call to @code{__builtin_saveregs} appears at the
 beginning of the function, as opposed to where the call to
This page took 0.083564 seconds and 5 git commands to generate.