aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@act-europe.fr>2004-01-25 21:09:27 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2004-01-25 20:09:27 +0000
commit20b4e8aea1639dedfe5f4a17ba833afa20923fad (patch)
treefd5e081b08208dfa8134d58d3da7b1069bfd7bcf /gcc/cfgcleanup.c
parent062732fd2bb522673907db270c43b6b070bf1769 (diff)
downloadgcc-20b4e8aea1639dedfe5f4a17ba833afa20923fad.zip
gcc-20b4e8aea1639dedfe5f4a17ba833afa20923fad.tar.gz
gcc-20b4e8aea1639dedfe5f4a17ba833afa20923fad.tar.bz2
re PR bootstrap/13853 (Bootstrap fails when compiled with gcc 2.8.1 (gnat-3.14p))
PR bootstrap/13853 * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0. From-SVN: r76579
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 10bffe7..52d5819 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;