summaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authoraldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-07 19:33:25 +0000
committeraldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-07 19:33:25 +0000
commit2c2eb7fa5954b94cc9f68244df44185bc28facd2 (patch)
tree9b6622f22729107fbb8f91c9ae0cfb5b66e22082 /gcc/tree-cfg.c
parent3d400f58692dd7eb565f25ca266ea9e7439f9ed8 (diff)
downloadgcc-2c2eb7fa5954b94cc9f68244df44185bc28facd2.tar.gz
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* tree-cfg.c (gimple_merge_blocks): Commentary typo fix. (verify_stmts): Print statement who's gimple_bb is set to a wrong BB git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148258 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 26a082da000..763ac04d5ca 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -1571,7 +1571,7 @@ gimple_merge_blocks (basic_block a, basic_block b)
/* Return the one of two successors of BB that is not reachable by a
- reached by a complex edge, if there is one. Else, return BB. We use
+ complex edge, if there is one. Else, return BB. We use
this in optimizations that use post-dominators for their heuristics,
to catch the cases in C++ where function calls are involved. */
@@ -4464,6 +4464,7 @@ verify_stmts (void)
if (gimple_bb (stmt) != bb)
{
error ("gimple_bb (stmt) is set to a wrong basic block");
+ debug_gimple_stmt (stmt);
err |= true;
}