From 5f10ef5bac2c7314faf54ff04414f75e19e8f5be Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 31 Oct 2000 17:48:12 -0800 Subject: [PATCH] c-semantics.c (genrtl_do_stmt): Use integer_zerop instead of integer_zero_node. * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead of integer_zero_node. From-SVN: r37178 --- gcc/ChangeLog | 5 +++++ gcc/c-semantics.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b12182d7d2..25004ba2275 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-10-31 Richard Henderson + + * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead + of integer_zero_node. + 2000-10-31 Richard Henderson * c-semantics.c (genrtl_do_stmt): Special case do/while(0). 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 {