c-semantics.c (genrtl_do_stmt): Use integer_zerop instead of integer_zero_node.
authorRichard Henderson <rth@redhat.com>
Wed, 1 Nov 2000 01:48:12 +0000 (17:48 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 1 Nov 2000 01:48:12 +0000 (17:48 -0800)
        * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
        of integer_zero_node.

From-SVN: r37178

gcc/ChangeLog
gcc/c-semantics.c

index 3b12182d7d22be098ce2c0eea3f5fc3157816c1e..25004ba22753c61aa806411b5001060e1059a8f2 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-31  Richard Henderson  <rth@redhat.com>
+
+       * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
+       of integer_zero_node.
+
 2000-10-31  Richard Henderson  <rth@redhat.com>
 
        * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
index ccc3c7d4e7743b3365b208819609114bec5bd480..625f7261a92de9c5bf181e172a09feadca25f09f 100644 (file)
@@ -486,7 +486,7 @@ genrtl_do_stmt (t)
      not emit the loop widgetry in this case.  In particular this
      avoids cluttering the rtl with dummy loop notes, which can affect
      alignment of adjacent labels.  */
-  if (cond == integer_zero_node)
+  if (integer_zerop (cond))
     expand_stmt (DO_BODY (t));
   else
     {