From ead1f4b6412011a79e84db928f6a98dd7cf09a3d Mon Sep 17 00:00:00 2001 From: jakub Date: Fri, 11 Jan 2019 12:05:54 +0000 Subject: [PATCH] PR bootstrap/88714 * passes.c (finish_optimization_passes): Call print_combine_total_stats inside of pass_combine_1 dump rather than pass_profile_1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267839 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/passes.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d9c536e4141..13b178471e05 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-01-11 Jakub Jelinek + + PR bootstrap/88714 + * passes.c (finish_optimization_passes): Call print_combine_total_stats + inside of pass_combine_1 dump rather than pass_profile_1. + 2019-01-11 Tom de Vries * config/nvptx/nvptx.c (PTX_CTA_NUM_BARRIERS, PTX_PER_CTA_BARRIER) diff --git a/gcc/passes.c b/gcc/passes.c index c007aa06eb09..f838b586bff2 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -361,9 +361,9 @@ finish_optimization_passes (void) if (optimize > 0) { - dumps->dump_start (pass_profile_1->static_pass_number, NULL); + dumps->dump_start (pass_combine_1->static_pass_number, NULL); print_combine_total_stats (); - dumps->dump_finish (pass_profile_1->static_pass_number); + dumps->dump_finish (pass_combine_1->static_pass_number); } /* Do whatever is necessary to finish printing the graphs. */ -- 2.47.2