[PATCH] Bug in setjmp/longjmp on Sparc

Jakub Jelinek jakub@redhat.com
Mon Nov 20 22:59:00 GMT 2000


On Mon, Nov 20, 2000 at 10:04:26PM -0700, law@redhat.com wrote:
>   > >         * builtins.c (expand_builtin_setjmp): Set
>   > > 	current_function_calls_setjmp.
>   > > 	(expand_builtin_longjmp): Set current_function_calls_longjmp.
>   > 
>   > My impression was that current_function_calls_longjmp was intentionally
>   > not set in expand_builtin_setjmp although it clearly causes problems
>   > when it is not set. 
> Setting current_function_calls_longjmp from within expand_builtin_setjmp
> clearly is not the right thing to do.

My patch was setting current_function_calls_setjmp from
expand_builtin_setjmp though...

	Jakub


More information about the Gcc-patches mailing list