+Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
+
+ * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
+
2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-common.c (c_common_nodes_and_builtins): Don't special case
int
stmt_loop_nest_empty ()
{
- return (loop_stack == NULL);
+ /* 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 non-zero if we should preserve sub-expressions as separate