From b55ddd438acf8057d34c267286b3d683cb9de48c Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 11 Jan 2019 13:05:54 +0100 Subject: [PATCH] re PR bootstrap/88714 (bootstrap comparison failure on armv7l since r265398) PR bootstrap/88714 * passes.c (finish_optimization_passes): Call print_combine_total_stats inside of pass_combine_1 dump rather than pass_profile_1. From-SVN: r267839 --- gcc/ChangeLog | 6 ++++++ gcc/passes.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d9c536e414..13b178471e0 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 c007aa06eb0..f838b586bff 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.30.2