diff options
author | Bernhard Reutner-Fischer <aldot@gcc.gnu.org> | 2009-06-07 21:33:25 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <aldot@gcc.gnu.org> | 2009-06-07 21:33:25 +0200 |
commit | 2cd713a0fc1c70ec0954ef9975659ab33fd68b9d (patch) | |
tree | 9b6622f22729107fbb8f91c9ae0cfb5b66e22082 /gcc | |
parent | 249eb5068f2182a7c2ef08de73a35e50a0670fd3 (diff) | |
download | gcc-2cd713a0fc1c70ec0954ef9975659ab33fd68b9d.zip gcc-2cd713a0fc1c70ec0954ef9975659ab33fd68b9d.tar.gz gcc-2cd713a0fc1c70ec0954ef9975659ab33fd68b9d.tar.bz2 |
tree-cfg.c (gimple_merge_blocks): Commentary typo fix.
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
From-SVN: r148258
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/tree-cfg.c | 3 |
2 files changed, 9 insertions, 4 deletions
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 <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 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; } |