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
This commit is contained in:
Richard Henderson 2000-10-31 17:48:12 -08:00 committed by Richard Henderson
parent d599b81f46
commit 5f10ef5bac
2 changed files with 6 additions and 1 deletions

View 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).

View 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
{