From 2cd713a0fc1c70ec0954ef9975659ab33fd68b9d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 7 Jun 2009 21:33:25 +0200 Subject: tree-cfg.c (gimple_merge_blocks): Commentary typo fix. 2009-06-07 Bernhard Reutner-Fischer * tree-cfg.c (gimple_merge_blocks): Commentary typo fix. (verify_stmts): Print statement who's gimple_bb is set to a wrong BB From-SVN: r148258 --- gcc/ChangeLog | 10 +++++++--- gcc/tree-cfg.c | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9828b16..0d7f280 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,8 +1,7 @@ 2009-06-07 Bernhard Reutner-Fischer - * errors.c (internal_error): Commentary typo fix. - * gimple-iterator.c (gsi_insert_seq_on_edge): Ditto. - * tree-ssa-pre.c: Ditto. + * tree-cfg.c (gimple_merge_blocks): Commentary typo fix. + (verify_stmts): Print statement who's gimple_bb is set to a wrong BB 2009-06-07 Bernhard Reutner-Fischer @@ -10,6 +9,11 @@ * gimple-iterator.c (gsi_insert_seq_on_edge): Ditto. * tree-ssa-pre.c: Ditto. +2009-06-07 Bernhard Reutner-Fischer + + * basic-block.h (ENTRY_BLOCK, EXIT_BLOCK): Document that neither of + them is supposed to hold actual statements. + 2009-06-06 Ian Lance Taylor * doc/extend.texi (Attribute Syntax): Document that C++ labels on diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 26a082d..763ac04 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; } -- cgit v1.1