diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-12 19:53:17 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-12 19:53:17 +0000 |
commit | f0c467daaf790c59979c5f05b903e67d60f20877 (patch) | |
tree | 3688d9296922e3e7a321a8a99b5bbb6825b5345d /gcc/langhooks-def.h | |
parent | c2dfd8f6b99b8f4455a6a6978d27ced4ccd7bb71 (diff) | |
download | gcc-f0c467daaf790c59979c5f05b903e67d60f20877.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73507 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks-def.h')
-rw-r--r-- | gcc/langhooks-def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/langhooks-def.h b/gcc/langhooks-def.h index cf241602f44..6a9f68c86f0 100644 --- a/gcc/langhooks-def.h +++ b/gcc/langhooks-def.h @@ -83,7 +83,7 @@ extern tree lhd_tree_inlining_copy_res_decl_for_inlining (tree, tree, tree, extern int lhd_tree_inlining_anon_aggr_type_p (tree); extern int lhd_tree_inlining_start_inlining (tree); extern void lhd_tree_inlining_end_inlining (tree); -extern tree lhd_tree_inlining_convert_parm_for_inlining (tree, tree, tree); +extern tree lhd_tree_inlining_convert_parm_for_inlining (tree, tree, tree, int); extern void lhd_initialize_diagnostics (struct diagnostic_context *); extern tree lhd_callgraph_analyze_expr (tree *, int *, tree); |