summaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-25 20:09:27 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-25 20:09:27 +0000
commitfa015b9a32cd95e30b59149bd49c5cdd520cbcdc (patch)
treefd5e081b08208dfa8134d58d3da7b1069bfd7bcf /gcc/cfgcleanup.c
parent0c26d10b9eaabf33d43940869a74cf87662394e1 (diff)
downloadgcc-fa015b9a32cd95e30b59149bd49c5cdd520cbcdc.tar.gz
PR bootstrap/13853
* cfgcleanup.c (try_optimize_cfg): Explicitly test against 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76579 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 10bffe77293..52d58196d85 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -1809,7 +1809,7 @@ try_optimize_cfg (int mode)
&& b->succ->dest != EXIT_BLOCK_PTR
&& onlyjump_p (BB_END (b))
&& try_redirect_by_replacing_jump (b->succ, b->succ->dest,
- (mode & CLEANUP_CFGLAYOUT)))
+ (mode & CLEANUP_CFGLAYOUT) != 0))
{
update_forwarder_flag (b);
changed_here = true;