From 076906de696b278a7a5c832df301b15545b70fbf Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 29 Oct 2015 15:18:14 +0000 Subject: [PATCH] Remove unnecessary label from tree-call-cdce.c Tested on x86_64-linux-gnu, arm-linux-gnueabi and aarch64-linux-gnu. gcc/ * tree-call-cdce.c (shrink_wrap_one_built_in_call): Remove unnecessary label. From-SVN: r229531 --- gcc/ChangeLog | 5 +++++ gcc/tree-call-cdce.c | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a088c13fd12..8f4cc17b9df 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-29 Richard Sandiford + + * tree-call-cdce.c (shrink_wrap_one_built_in_call): Remove + unnecessary label. + 2015-10-29 Richard Biener PR middle-end/68142 diff --git a/gcc/tree-call-cdce.c b/gcc/tree-call-cdce.c index 5eb96feddc0..400ca161084 100644 --- a/gcc/tree-call-cdce.c +++ b/gcc/tree-call-cdce.c @@ -724,8 +724,6 @@ shrink_wrap_one_built_in_call (gcall *bi_call) unsigned ci; gimple *cond_expr = NULL; gimple *cond_expr_start; - tree bi_call_label_decl; - gimple *bi_call_label; auto_vec conds; gen_shrink_wrap_conditions (bi_call, conds, &nconds); @@ -774,11 +772,6 @@ shrink_wrap_one_built_in_call (gcall *bi_call) ci++; gcc_assert (cond_expr && gimple_code (cond_expr) == GIMPLE_COND); - /* Now the label. */ - bi_call_label_decl = create_artificial_label (gimple_location (bi_call)); - bi_call_label = gimple_build_label (bi_call_label_decl); - gsi_insert_before (&bi_call_bsi, bi_call_label, GSI_SAME_STMT); - bi_call_in_edge0 = split_block (bi_call_bb, cond_expr); bi_call_in_edge0->flags &= ~EDGE_FALLTHRU; bi_call_in_edge0->flags |= EDGE_TRUE_VALUE; -- 2.30.2