aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/stmt.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e4595e2..fa6a801 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 <jason@casey.cygnus.com>
diff --git a/gcc/stmt.c b/gcc/stmt.c
index e4f14cf..b7ab080b 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