On Okt 08 2017, Eric Botcazou <ebotca...@adacore.com> wrote: > * builtins.def (BUILT_IN_SETJMP): Declare as library builtin instead > of GCC builtin if DONT_USE_BUILTIN_SETJMP is defined. > * except.c (sjlj_emit_function_enter): If DONT_USE_BUILTIN_SETJMP is > defined, force the creation of a new block for a dispatch label.
This also breaks gcc.c-torture/compile/951222-1.c: during GIMPLE pass: lower /opt/gcc/gcc-20171008/gcc/testsuite/gcc.c-torture/compile/951222-1.c:4:1: internal compiler error: in gimple_call_arg, at gimple.h:3159 0x118ab1b gimple_call_arg ../../gcc/gimple.h:3159 0x118ab1b gimple_call_arg ../../gcc/gimple.h:3167 0x118ab1b lower_stmt ../../gcc/gimple-low.c:327 0x118ab1b lower_sequence ../../gcc/gimple-low.c:205 0x1189df3 lower_stmt ../../gcc/gimple-low.c:274 0x1189df3 lower_sequence ../../gcc/gimple-low.c:205 0x118997f lower_gimple_bind ../../gcc/gimple-low.c:441 0x118afff lower_function_body ../../gcc/gimple-low.c:109 0x118afff execute ../../gcc/gimple-low.c:183 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."