except.c (setjmp_fn): New global variable.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 9 Oct 2017 22:32:01 +0000 (22:32 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 9 Oct 2017 22:32:01 +0000 (22:32 +0000)
commit2ab71f3d8707c9b292e5853050b5fbba2911fccb
treedf251f986249456032810cbe349db8303fe1659b
parent3fc40cd783cb149d7d6c328def33606ec17ab15f
except.c (setjmp_fn): New global variable.

* except.c (setjmp_fn): New global variable.
(init_eh): Initialize it if DONT_USE_BUILTIN_SETJMP is defined.
(sjlj_emit_function_enter): Call it instead of BUILTIN_SETJMP if
DONT_USE_BUILTIN_SETJMP is defined.

From-SVN: r253569
gcc/ChangeLog
gcc/except.c