[PATCH] Remove dead code
Richard Biener
rguenther@suse.de
Wed Jan 16 14:51:00 GMT 2013
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
Richard.
2013-01-16 Richard Biener <rguenther@suse.de>
* tree-inline.c (tree_function_versioning): Remove set but
never used variable.
Index: gcc/tree-inline.c
===================================================================
--- gcc/tree-inline.c (revision 195232)
+++ gcc/tree-inline.c (working copy)
@@ -5190,7 +5190,6 @@ tree_function_versioning (tree old_decl,
replace_info = (*tree_map)[i];
if (replace_info->replace_p)
{
- tree op = replace_info->new_tree;
if (!replace_info->old_tree)
{
int i = replace_info->parm_num;
@@ -5199,13 +5198,6 @@ tree_function_versioning (tree old_decl,
i --;
replace_info->old_tree = parm;
}
-
-
- STRIP_NOPS (op);
-
- if (TREE_CODE (op) == VIEW_CONVERT_EXPR)
- op = TREE_OPERAND (op, 0);
-
gcc_assert (TREE_CODE (replace_info->old_tree) == PARM_DECL);
init = setup_one_parameter (&id, replace_info->old_tree,
replace_info->new_tree, id.src_fn,
More information about the Gcc-patches
mailing list