From efee62d185cf5d6acccb8ea5755f0b39fd36c378 Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Thu, 21 Nov 2013 01:28:11 +0000 Subject: Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros gcc/ 2013-11-20 David Malcolm * cfg.c (dump_edge_info): Remove redundant comment. * cfgcleanup.c (outgoing_edges_match): Reword reference to EXIT_BLOCK_PTR in comment. (try_optimize_cfg): Likewise. * cfgrtl.c (last_bb_in_partition): Likewise. * cgraph.c (cgraph_node_cannot_return): Likewise. * function.c (thread_prologue_and_epilogue_insns): Likewise. * graphite-scop-detection.c (scopdet_basic_block_info): Likewise. * ipa-split.c (consider_split): Likewise. * profile.c (find_spanning_tree): Likewise. * sched-int.h (common_sched_info_def.add_block): Likewise. * dominance.c (calc_dfs_tree_nonrec): Reword references in comments to now removed ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros. * tree-cfgcleanup.c (cleanup_control_flow_bb): Reword references in comments to now removed ENTRY_BLOCK_PTR macro. (tree_forwarder_block_p): Reword reference in comment to EXIT_BLOCK_PTR. * tree-inline.c (copy_cfg_body): Reword references in comments to now removed ENTRY_BLOCK_PTR macro. * tree-ssa-propagate.c (ssa_prop_init): Likewise. * tree-scalar-evolution.h ( block_before_loop): Likewise. Add a comma to the comment to clarify the meaning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205182 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/dominance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/dominance.c') diff --git a/gcc/dominance.c b/gcc/dominance.c index 3d88c0d3ed1..5ece3f68b94 100644 --- a/gcc/dominance.c +++ b/gcc/dominance.c @@ -227,7 +227,7 @@ calc_dfs_tree_nonrec (struct dom_info *di, basic_block bb, bool reverse) edge_iterator *stack; edge_iterator ei, einext; int sp; - /* Start block (ENTRY_BLOCK_PTR for forward problem, EXIT_BLOCK for backward + /* Start block (the entry block for forward problem, exit block for backward problem). */ basic_block en_block; /* Ending block. */ -- cgit v1.2.1