]> gcc.gnu.org Git - gcc.git/commit
Objective-C: Default flag_objc_sjlj_exceptions off for NeXT ABI >= 2.
authorMatt Jacobson <mhjacobson@me.com>
Thu, 29 Jul 2021 08:57:23 +0000 (09:57 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 17 Aug 2021 19:10:39 +0000 (20:10 +0100)
commit798666392b512a585f0de2983a5d3423e960959e
tree680c87e13bfae9575fdc64c64b565f20fb76b15e
parent60b94d8bd2280837e980a53cf81bdf902d726e61
Objective-C: Default flag_objc_sjlj_exceptions off for NeXT ABI >= 2.

Signed-off-by: Matt Jacobson <mhjacobson@me.com>
gcc/c-family/ChangeLog:

* c-opts.c (c_common_post_options): Default to
flag_objc_sjlj_exceptions = 1 only when flag_objc_abi < 2.

gcc/objc/ChangeLog:

* objc-next-runtime-abi-02.c
(objc_next_runtime_abi_02_init): Warn about and reset
flag_objc_sjlj_exceptions regardless of flag_objc_exceptions.
(next_runtime_02_initialize): Use a checking assert that
flag_objc_sjlj_exceptions is off.
gcc/c-family/c-opts.c
gcc/objc/objc-next-runtime-abi-02.c
This page took 0.060232 seconds and 5 git commands to generate.