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-Tag: releases/gcc-4.0.0~10724 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=20b4e8aea1639dedfe5f4a17ba833afa20923fad;p=thirdparty%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 b3be4d2bc50e..c0109144d379 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 10bffe772939..52d58196d85b 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;