aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2000-03-29 22:48:25 +0000
committerJeff Law <law@gcc.gnu.org>2000-03-29 15:48:25 -0700
commitabe79fd4da641ef2f393be1bcac0ae855035e9b1 (patch)
tree1a1588490510cf721e8c2f93936741d2c9cde0e9 /gcc
parent1dfb49b94afdbfbdfb9867c0d433cf12158967f3 (diff)
downloadgcc-abe79fd4da641ef2f393be1bcac0ae855035e9b1.zip
gcc-abe79fd4da641ef2f393be1bcac0ae855035e9b1.tar.gz
gcc-abe79fd4da641ef2f393be1bcac0ae855035e9b1.tar.bz2
* stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
From-SVN: r32820
Diffstat (limited to 'gcc')
-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