Objective-C, NeXT runtime: Correct the default for fobjc-nilcheck.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 15 Aug 2021 11:52:30 +0000 (12:52 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 19 Aug 2021 18:37:11 +0000 (19:37 +0100)
commitde0b250b2badb475f8c09f3cd2c57fd3f9127fe3
tree4cbcbafbc21877aac7efd0b50d628735eea8a6ab
parent18e9e7db7afb8635316414b560c10852db13c4c1
Objective-C, NeXT runtime: Correct the default for fobjc-nilcheck.

It is intended that the default for the NeXT runtime at ABI 2 is to
check for nil message receivers.  This updates this to match the
documented behaviour and to match the behaviour of the system tools.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/objc/ChangeLog:

* objc-next-runtime-abi-02.c (objc_next_runtime_abi_02_init):
Default receiver nilchecks on.
gcc/objc/objc-next-runtime-abi-02.c