[PATCH 2/2] gcc: Update comment in bb-reorder.c
Andrew Burgess
andrew.burgess@embecosm.com
Fri Jun 10 16:57:00 GMT 2016
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
More information about the Gcc-patches
mailing list