* stmt.c (stmt_loop_nest_empty): Fix thinko in last change.

From-SVN: r32820
This commit is contained in:
Jeffrey A Law 2000-03-29 22:48:25 +00:00 committed by Jeff Law
parent 1dfb49b94a
commit abe79fd4da
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
* calls.c (expand_call): Fix typo.
* stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
* calls.c (expand_call): Fix typo in last change.
2000-03-29 Jason Merrill <jason@casey.cygnus.com>

View File

@ -2621,7 +2621,7 @@ stmt_loop_nest_empty ()
/* cfun->stmt can be NULL if we are building a call to get the
EH context for a setjmp/longjmp EH target and the current
function was a deferred inline function. */
return (cfun->stmt != NULL && loop_stack == NULL);
return (cfun->stmt == NULL || loop_stack == NULL);
}
/* Return non-zero if we should preserve sub-expressions as separate