From: Jeff Law Date: Wed, 14 Oct 2015 17:53:46 +0000 (-0600) Subject: [PATCH] Fix accounting for num_threaded_edges X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41fd0dc65045126da6e435f8136a0faf3a0bdb14;p=gcc.git [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 --- 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);