From 41fd0dc65045126da6e435f8136a0faf3a0bdb14 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 14 Oct 2015 11:53:46 -0600 Subject: [PATCH] [PATCH] Fix accounting for num_threaded_edges * tree-ssa-threadupdate.c (thread_through_all_blocks): Bump num_threaded_edges for successful FSM threads too. From-SVN: r228822 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-threadupdate.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a555d2be390..7c64fa8e92e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-14 Jeff Law + + * tree-ssa-threadupdate.c (thread_through_all_blocks): Bump + num_threaded_edges for successful FSM threads too. + 2015-10-14 Richard Biener * tree-vectorizer.h (vect_is_simple_use): Remove unused parameters. diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index e426c1db9e9..5632a888e46 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -2672,6 +2672,7 @@ thread_through_all_blocks (bool may_peel_loop_headers) free_dominance_info (CDI_DOMINATORS); bitmap_set_bit (threaded_blocks, entry->src->index); retval = true; + thread_stats.num_threaded_edges++; } delete_jump_thread_path (path); -- 2.30.2