sibling/tail call opts vs sjlj EH
Richard Henderson
rth@cygnus.com
Wed Mar 29 10:34:00 GMT 2000
On Wed, Mar 29, 2000 at 10:45:19AM -0700, Jeffrey A Law wrote:
> 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);
It probably doesn't make any difference in The Overall, but
shouldn't we return true if stmt is null? I.e.
cfun->stmt == NULL || loop_stack == NULL
After all, there isn't a loop_stack, so it must be empty, right? ;-)
r~
More information about the Gcc-patches
mailing list