This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 2/2] gcc: Update comment in bb-reorder.c
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Fri, 10 Jun 2016 17:56:37 +0100
- Subject: [PATCH 2/2] gcc: Update comment in bb-reorder.c
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1465577682 dot git dot andrew dot burgess at embecosm dot com>
- References: <cover dot 1465577682 dot git dot andrew dot burgess at embecosm dot com>
Out of date comment ... fixed.
gcc/ChangeLog:
* gcc/bb-reorder.c (pass_partition_blocks::gate): Update comment.
---
gcc/ChangeLog | 4 ++++
gcc/bb-reorder.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 04874da..78d15e2 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -2885,7 +2885,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.6.4