From 78b80426f1a0e43ba96d22ae4c50c776f02fbb56 Mon Sep 17 00:00:00 2001 From: jakub Date: Tue, 19 Mar 2002 08:47:14 +0000 Subject: 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 --- gcc/c-tree.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/c-tree.h') diff --git a/gcc/c-tree.h b/gcc/c-tree.h index d39e3ff6e83..f01b5238d0e 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -270,6 +270,7 @@ extern void c_finish_case PARAMS ((void)); extern tree simple_asm_stmt PARAMS ((tree)); extern tree build_asm_stmt PARAMS ((tree, tree, tree, tree, tree)); +extern tree c_convert_parm_for_inlining PARAMS ((tree, tree, tree)); /* Set to 0 at beginning of a function definition, set to 1 if a return statement that specifies a return value is seen. */ -- cgit v1.2.1