summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-semantics.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3b12182d7d2..25004ba2275 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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).
2000-10-31 Nick Clifton <nickc@redhat.com>
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c
index ccc3c7d4e77..625f7261a92 100644
--- a/gcc/c-semantics.c
+++ b/gcc/c-semantics.c
@@ -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
{