From: Eric Botcazou Date: Sun, 25 Jan 2004 20:09:27 +0000 (+0100) Subject: re PR bootstrap/13853 (Bootstrap fails when compiled with gcc 2.8.1 (gnat-3.14p)) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20b4e8aea1639dedfe5f4a17ba833afa20923fad;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b3be4d2..c010914 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-25 Eric Botcazou + + PR bootstrap/13853 + * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0. + 2004-01-25 Kazu Hirata * config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by 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;