From: Jeffrey A Law Date: Wed, 29 Mar 2000 22:48:25 +0000 (+0000) Subject: * stmt.c (stmt_loop_nest_empty): Fix thinko in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abe79fd4da641ef2f393be1bcac0ae855035e9b1;p=gcc.git * stmt.c (stmt_loop_nest_empty): Fix thinko in last change. From-SVN: r32820 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4595e2bfae..fa6a801b1ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/stmt.c b/gcc/stmt.c index e4f14cf5444..b7ab080b284 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -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