Commit cb9cf03b by Richard Biener Committed by Richard Biener

tree-inline.c (tree_function_versioning): Remove set but never used variable.

2013-01-16  Richard Biener  <rguenther@suse.de>

	* tree-inline.c (tree_function_versioning): Remove set but
	never used variable.

From-SVN: r195240
parent 2cfc56b9
2013-01-16 Richard Biener <rguenther@suse.de> 2013-01-16 Richard Biener <rguenther@suse.de>
* tree-inline.c (tree_function_versioning): Remove set but
never used variable.
2013-01-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/55964 PR tree-optimization/55964
* tree-flow.h (rename_variables_in_loop): Remove. * tree-flow.h (rename_variables_in_loop): Remove.
(rename_variables_in_bb): Likewise. (rename_variables_in_bb): Likewise.
......
...@@ -5190,7 +5190,6 @@ tree_function_versioning (tree old_decl, tree new_decl, ...@@ -5190,7 +5190,6 @@ tree_function_versioning (tree old_decl, tree new_decl,
replace_info = (*tree_map)[i]; replace_info = (*tree_map)[i];
if (replace_info->replace_p) if (replace_info->replace_p)
{ {
tree op = replace_info->new_tree;
if (!replace_info->old_tree) if (!replace_info->old_tree)
{ {
int i = replace_info->parm_num; int i = replace_info->parm_num;
...@@ -5199,13 +5198,6 @@ tree_function_versioning (tree old_decl, tree new_decl, ...@@ -5199,13 +5198,6 @@ tree_function_versioning (tree old_decl, tree new_decl,
i --; i --;
replace_info->old_tree = parm; 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); gcc_assert (TREE_CODE (replace_info->old_tree) == PARM_DECL);
init = setup_one_parameter (&id, replace_info->old_tree, init = setup_one_parameter (&id, replace_info->old_tree,
replace_info->new_tree, id.src_fn, replace_info->new_tree, id.src_fn,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment