* stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
authorJeffrey A Law <law@cygnus.com>
Wed, 29 Mar 2000 22:48:25 +0000 (22:48 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 29 Mar 2000 22:48:25 +0000 (15:48 -0700)
From-SVN: r32820

gcc/ChangeLog
gcc/stmt.c

index e4595e2bfae20a2de1a83c7bb60042adbbba65fd..fa6a801b1aeea5545029757839c947212b7f9271 100644 (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>
 
index e4f14cf54447f3e79a2a0268e3f57130ffbc3122..b7ab080b284020b928370592621e40edcb9dca25 100644 (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