From cd98b1cf064cf782a18a07e21e6c65897c4fa591 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 22 Jun 2016 03:58:24 +0100 Subject: [PATCH] * bb-reorder.c (pass_partition_blocks::gate): Update comment. From-SVN: r237677 --- gcc/ChangeLog | 4 ++++ gcc/bb-reorder.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 614c22ae8d7..a4c67f5e231 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-06-21 Andrew Burgess + + * bb-reorder.c (pass_partition_blocks::gate): Update comment. + 2016-06-21 John David Anglin * gcov-tool.c (profile_rewrite): Use int64_t instead of long long. diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 5fb60bde762..bb8435f131c 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -2886,7 +2886,7 @@ pass_partition_blocks::gate (function *fun) arises. */ return (flag_reorder_blocks_and_partition && optimize - /* See gate_handle_reorder_blocks. We should not partition if + /* See pass_reorder_blocks::gate. We should not partition if we are going to omit the reordering. */ && optimize_function_for_speed_p (fun) && !DECL_COMDAT_GROUP (current_function_decl) -- 2.30.2