From: Richard Henderson Date: Wed, 1 Nov 2000 01:48:12 +0000 (-0800) Subject: c-semantics.c (genrtl_do_stmt): Use integer_zerop instead of integer_zero_node. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f10ef5bac2c7314faf54ff04414f75e19e8f5be;p=gcc.git 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 --- 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 {