diff options
author | Eric Christopher <echristo@redhat.com> | 2003-05-16 02:11:26 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2003-05-16 02:11:26 +0000 |
commit | 10d6c0d0429bc874848ba1f40f1c98d008d84379 (patch) | |
tree | def908d730a60f6ba4ccd2987f176800bf1e3d96 | |
parent | 3dcd7d459532baf13446d089777a29142b0fb5e2 (diff) | |
download | gcc-10d6c0d0429bc874848ba1f40f1c98d008d84379.zip gcc-10d6c0d0429bc874848ba1f40f1c98d008d84379.tar.gz gcc-10d6c0d0429bc874848ba1f40f1c98d008d84379.tar.bz2 |
cfgcleanup.c (merge_blocks): Fix return value.
2003-05-15 Eric Christopher <echristo@redhat.com>
* cfgcleanup.c (merge_blocks): Fix return value.
From-SVN: r66854
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cfgcleanup.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 699bba0..a8f77d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-05-15 Eric Christopher <echristo@redhat.com> + + * cfgcleanup.c (merge_blocks): Fix return value. + 2003-05-15 Eric Christopher <echristo@redhat.com> * combine.c (expand_compound_operation): Make sure diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index c9e64ed..cfb838c 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -888,7 +888,7 @@ merge_blocks (e, b, c, mode) return next == ENTRY_BLOCK_PTR ? next->next_bb : next; } - return false; + return NULL; } @@ -1479,7 +1479,7 @@ try_crossjump_to_edge (mode, e1, e2) } } #endif - + /* Avoid splitting if possible. */ if (newpos2 == src2->head) redirect_to = src2; |