2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
authoraldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jun 2009 19:33:25 +0000 (19:33 +0000)
committeraldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jun 2009 19:33:25 +0000 (19:33 +0000)
* 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

gcc/ChangeLog
gcc/tree-cfg.c

index 9828b16..0d7f280 100644 (file)
@@ -1,8 +1,7 @@
 2009-06-07  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
 
-       * 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  <aldot@gcc.gnu.org>
 
@@ -10,6 +9,11 @@
        * gimple-iterator.c (gsi_insert_seq_on_edge): Ditto.
        * tree-ssa-pre.c: Ditto.
 
+2009-06-07  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
+
+       * basic-block.h (ENTRY_BLOCK, EXIT_BLOCK): Document that neither of
+       them is supposed to hold actual statements.
+
 2009-06-06  Ian Lance Taylor  <iant@google.com>
 
        * doc/extend.texi (Attribute Syntax): Document that C++ labels on
index 26a082d..763ac04 100644 (file)
@@ -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;
            }