This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sibling/tail call opts vs sjlj EH


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]