aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-01-20 12:30:05 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2010-01-20 12:30:05 +0100
commit1124098bb22cbd60a4cdc18062ea81a79a1e8468 (patch)
tree259c71279a44a29f881a32db911e94525a7fe98c /gcc/cgraphunit.c
parent83a5ef25d3fcf70ca677a6bfe2e94a1302ab7f1a (diff)
downloadgcc-1124098bb22cbd60a4cdc18062ea81a79a1e8468.zip
gcc-1124098bb22cbd60a4cdc18062ea81a79a1e8468.tar.gz
gcc-1124098bb22cbd60a4cdc18062ea81a79a1e8468.tar.bz2
sel-sched.c (create_speculation_check): Remove set but not used variable twin.
* sel-sched.c (create_speculation_check): Remove set but not used variable twin. (try_transformation_cache): Remove set but not used variable ds. (calculate_privileged_insns): Remove set but not used variables cur_insn and min_spec_insn. (find_best_expr): Remove set but not used variable avail_n. * tree-predcom.c (base_names_in_chain_on): Remove set but not used variable e. * cgraphunit.c (assemble_thunk): Remove set but not used variable false_label. * haifa-sched.c (remove_notes): Remove set but not used variable prev. * graphite-clast-to-gimple.c (gloog): Remove set but not used variable new_scop_exit_edge. * decl.c (create_array_type_for_decl): Remove set but not used variable error_msg. Remove break stmts after return stmts. From-SVN: r156072
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index ebe662a..9cd5f16 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -1465,7 +1465,7 @@ assemble_thunk (struct cgraph_node *node)
if (restmp && !this_adjusting)
{
- tree true_label = NULL_TREE, false_label = NULL_TREE;
+ tree true_label = NULL_TREE;
if (TREE_CODE (TREE_TYPE (restmp)) == POINTER_TYPE)
{
@@ -1479,7 +1479,6 @@ assemble_thunk (struct cgraph_node *node)
else_bb = create_basic_block (NULL, (void *) 0, else_bb);
remove_edge (single_succ_edge (bb));
true_label = gimple_block_label (then_bb);
- false_label = gimple_block_label (else_bb);
stmt = gimple_build_cond (NE_EXPR, restmp,
fold_convert (TREE_TYPE (restmp),
integer_zero_node),