diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-19 08:47:14 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-19 08:47:14 +0000 |
commit | 78b80426f1a0e43ba96d22ae4c50c776f02fbb56 (patch) | |
tree | f8f50124b7cee68203bee922ac64a4b0c77721a4 /gcc/c-lang.c | |
parent | c347e99b2e6e3ac633100d63348344da93ee5ad3 (diff) | |
download | gcc-78b80426f1a0e43ba96d22ae4c50c776f02fbb56.tar.gz |
PR c/5656
* langhooks.h (struct lang_hooks_for_tree_inlining): Add
convert_parm_for_inlining.
* c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
Define.
* langhooks-def.h: Likewise.
* objc/objc-lang.c: Likewise.
* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
function.
* tree-inline.c (initialize_inlined_parameters):
Call convert_parm_for_inlining lang hook if needed.
* c-typeck.c (c_convert_parm_for_inlining): New function.
* c-tree.h (c_convert_parm_for_inlining): Add prototype.
* gcc.c-torture/compile/20020318-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51025 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r-- | gcc/c-lang.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c index bb26001f185..325ebd5d15d 100644 --- a/gcc/c-lang.c +++ b/gcc/c-lang.c @@ -70,6 +70,9 @@ static void c_post_options PARAMS ((void)); #undef LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P #define LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P \ anon_aggr_type_p +#undef LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING +#define LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING \ + c_convert_parm_for_inlining /* ### When changing hooks, consider if ObjC needs changing too!! ### */ |