aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-02-25 10:55:45 +0000
committerNick Clifton <nickc@gcc.gnu.org>2003-02-25 10:55:45 +0000
commitb103bfefc953931570791246da6bc4264d07fd98 (patch)
tree8b3faa43178be865cc5842bd2066d79e8cd8de79 /gcc
parentef4e756902f9d4d2ded99afab827656159495d35 (diff)
downloadgcc-b103bfefc953931570791246da6bc4264d07fd98.zip
gcc-b103bfefc953931570791246da6bc4264d07fd98.tar.gz
gcc-b103bfefc953931570791246da6bc4264d07fd98.tar.bz2
Fix typo.
Fix typo. Name of fourth arg is 'fndecl' not 'indirect'. Update comment describing the function's parameters. From-SVN: r63401
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/d30v/d30v.c31
2 files changed, 22 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b0c8719..a2ab54f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-25 Nick Clifton <nickc@redhat.com>
+
+ * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo. Name
+ of fourth arg is 'fndecl' not 'indirect'. Update comment
+ describing the function's parameters.
+
Mon Feb 24 22:08:22 CET 2003 Jan Hubicka <jh@suse.cz>
* combine.c (simplify_shift_const): Fix previous patch.
diff --git a/gcc/config/d30v/d30v.c b/gcc/config/d30v/d30v.c
index 17b5068..5c66161 100644
--- a/gcc/config/d30v/d30v.c
+++ b/gcc/config/d30v/d30v.c
@@ -1,21 +1,21 @@
/* Definitions of target machine for Mitsubishi D30V.
- Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
- This file is part of GNU CC.
+ This file is part of GCC.
- GNU CC is free software; you can redistribute it and/or modify
+ GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
- GNU CC is distributed in the hope that it will be useful,
+ GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with GNU CC; see the file COPYING. If not, write to
+ along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
@@ -1905,20 +1905,21 @@ direct_return ()
state at the beginning of the argument list. The variable has type
`CUMULATIVE_ARGS'. The value of FNTYPE is the tree node for the data type
of the function which will receive the args, or 0 if the args are to a
- compiler support library function. The value of INDIRECT is nonzero when
- processing an indirect call, for example a call through a function pointer.
- The value of INDIRECT is zero for a call to an explicitly named function, a
- library function call, or when `INIT_CUMULATIVE_ARGS' is used to find
- arguments for the function being compiled.
+ compiler support library function.
+
+ The value of FNDECL is NULL for indirect calls (eg via a function pointer)
+ and library calls. For direct calls, and when INIT_CUMULATIVE_ARGS is
+ being used to find arguments for the function being compiled it contains
+ the declaration node of FNTYPE.
When processing a call to a compiler support library function, LIBNAME
identifies which one. It is a `symbol_ref' rtx which contains the name of
- the function, as a string. LIBNAME is 0 when an ordinary C function call is
- being processed. Thus, each time this macro is called, either LIBNAME or
- FNTYPE is nonzero, but never both of them at once. */
+ the function, as a string. LIBNAME is 0 when an ordinary C function call
+ is being processed. Thus, each time this macro is called, either LIBNAME
+ or FNTYPE is nonzero, but never both of them at once. */
void
-d30v_init_cumulative_args (cum, fntype, libname, indirect, incoming)
+d30v_init_cumulative_args (cum, fntype, libname, fndecl, incoming)
CUMULATIVE_ARGS *cum;
tree fntype;
rtx libname;
@@ -2568,7 +2569,7 @@ d30v_expand_epilogue ()
`fprintf'.
The details of how the address should be passed to `mcount' are determined
- by your operating system environment, not by GNU CC. To figure them out,
+ by your operating system environment, not by GCC. To figure them out,
compile a small program for profiling using the system's installed C
compiler and look at the assembler code that results. */