diff options
author | Mike Stump <mrs@apple.com> | 2003-11-12 19:53:17 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2003-11-12 19:53:17 +0000 |
commit | d5123baefb715e5d861535910f3c82deb8675f22 (patch) | |
tree | 3688d9296922e3e7a321a8a99b5bbb6825b5345d /gcc/langhooks.c | |
parent | ea81d2a3e1896a810829bc423cdb40eb9fb0a113 (diff) | |
download | gcc-d5123baefb715e5d861535910f3c82deb8675f22.zip gcc-d5123baefb715e5d861535910f3c82deb8675f22.tar.gz gcc-d5123baefb715e5d861535910f3c82deb8675f22.tar.bz2 |
c-typeck.c (c_convert_parm_for_inlining): Add argnum...
* c-typeck.c (c_convert_parm_for_inlining): Add argnum, which
is the argumnt we are processing so that warnings and errors
will have that information.
* c-tree.h (c_convert_parm_for_inlining): Add argnum.
* lang-hooks-def.h
(lhd_tree_inlining_convert_parm_for_inlining): Likewse.
* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): Likewise.
* langhooks.h (convert_parm_for_inlining): Likewise.
* tree-inline.c (initialize_inlined_parameters): Compute and
pass argnum down.
From-SVN: r73507
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r-- | gcc/langhooks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index a1d60f9..0e4aa22 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -420,7 +420,8 @@ lhd_tree_inlining_end_inlining (tree fn ATTRIBUTE_UNUSED) tree lhd_tree_inlining_convert_parm_for_inlining (tree parm ATTRIBUTE_UNUSED, tree value, - tree fndecl ATTRIBUTE_UNUSED) + tree fndecl ATTRIBUTE_UNUSED, + int argnum ATTRIBUTE_UNUSED) { return value; } |