summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-01 01:48:12 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-01 01:48:12 +0000
commitd0447c3e3dc9508a7ba2d49ade27ecc19436851e (patch)
tree40ee66aeb437ffdea13cc14a4076af5ed6264883
parente0f54c0ca2fc847620498ffcafbfa62158753892 (diff)
downloadppe42-gcc-d0447c3e3dc9508a7ba2d49ade27ecc19436851e.tar.gz
ppe42-gcc-d0447c3e3dc9508a7ba2d49ade27ecc19436851e.zip
* c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
of integer_zero_node. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37178 138bc75d-0d04-0410-961f-82ee72b054a4
-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
{
OpenPOWER on IntegriCloud