summaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-20 11:30:05 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-20 11:30:05 +0000
commit57ab8ec3776febaa182257acdbab79aeeaa2f874 (patch)
tree259c71279a44a29f881a32db911e94525a7fe98c /gcc/tree-predcom.c
parent2144cc8559feb534c71a744aab5470738f5139dd (diff)
downloadgcc-57ab8ec3776febaa182257acdbab79aeeaa2f874.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156072 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r--gcc/tree-predcom.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c
index f31c3920366..ae59cd9fe79 100644
--- a/gcc/tree-predcom.c
+++ b/gcc/tree-predcom.c
@@ -1889,7 +1889,6 @@ base_names_in_chain_on (struct loop *loop, tree name, tree var)
{
gimple stmt, phi;
imm_use_iterator iter;
- edge e;
SSA_NAME_VAR (name) = var;
@@ -1908,11 +1907,6 @@ base_names_in_chain_on (struct loop *loop, tree name, tree var)
if (!phi)
return;
- if (gimple_bb (phi) == loop->header)
- e = loop_latch_edge (loop);
- else
- e = single_pred_edge (gimple_bb (stmt));
-
name = PHI_RESULT (phi);
SSA_NAME_VAR (name) = var;
}