aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2016-06-22 03:58:24 +0100
committerJeff Law <law@gcc.gnu.org>2016-06-21 20:58:24 -0600
commitcd98b1cf064cf782a18a07e21e6c65897c4fa591 (patch)
tree07b47168fa5608c16a4357f963fac12822b6a79f
parentfe55692cb3180b06967d45849664cc6a483756ea (diff)
downloadgcc-cd98b1cf064cf782a18a07e21e6c65897c4fa591.zip
gcc-cd98b1cf064cf782a18a07e21e6c65897c4fa591.tar.gz
gcc-cd98b1cf064cf782a18a07e21e6c65897c4fa591.tar.bz2
* bb-reorder.c (pass_partition_blocks::gate): Update comment.
From-SVN: r237677
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/bb-reorder.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 614c22a..a4c67f5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-21 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * bb-reorder.c (pass_partition_blocks::gate): Update comment.
+
2016-06-21 John David Anglin <danglin@gcc.gnu.org>
* 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 5fb60bd..bb8435f 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)