re PR bootstrap/13853 (Bootstrap fails when compiled with gcc 2.8.1 (gnat-3.14p))
authorEric Botcazou <ebotcazou@act-europe.fr>
Sun, 25 Jan 2004 20:09:27 +0000 (21:09 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 25 Jan 2004 20:09:27 +0000 (20:09 +0000)
PR bootstrap/13853
* cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.

From-SVN: r76579

gcc/ChangeLog
gcc/cfgcleanup.c

index b3be4d2..c010914 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-25  Eric Botcazou  <ebotcazou@act-europe.fr>
+
+       PR bootstrap/13853
+       * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.
+
 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by
index 10bffe7..52d5819 100644 (file)
@@ -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;