aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-01-16 14:54:46 +0000
committerRichard Biener <rguenther@suse.de>2013-01-16 14:54:46 +0000
commit3f1c1544bbee17b9cbeac0bc57f78af5a7948fbb (patch)
tree154c724a9767798e0d47256083703c39aebcc587 /gcc/tree-inline.c
parentb940eae7061bd35547e428672ac3ff8377d6bb3e (diff)
2013-01-16 Richard Biener <rguenther@suse.de>
* tree-inline.c (tree_function_versioning): Remove set but never used variable. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195240 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 975cb0574cd..a7eb86a63b3 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -5190,7 +5190,6 @@ tree_function_versioning (tree old_decl, tree new_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, tree new_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,