From 20b4e8aea1639dedfe5f4a17ba833afa20923fad Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sun, 25 Jan 2004 21:09:27 +0100 Subject: 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 --- gcc/ChangeLog | 5 +++++ gcc/cfgcleanup.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') 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; -- cgit v1.1