]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin] Fix Objective-C NeXT ABI version check diagnostics.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 1 Nov 2019 20:47:48 +0000 (20:47 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 1 Nov 2019 20:47:48 +0000 (20:47 +0000)
commit87b14bf0d2f961862858a2e3966c45a503957434
tree8c4547696d137f23a011fa17003a1f8e7c51d0c0
parent1830e27db910cb79110b6fc09521586af3482594
[Darwin] Fix Objective-C NeXT ABI version check diagnostics.

This fixes build errors when used with newer GCC and corrects a mistake
in the checking of ABI versions.

276768 We were missing a check for the case that user's ABI was > 2 and the
codegen was for 64 bit.

276635 Fix some format-related build warnings.

This fixes two error messages to avoid punctuation and contracted
negations.

gcc/

2019-11-01  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline
2019-10-09  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.c (darwin_override_options): Make the check for
Objective-C ABI version more specific for 64bit code.

Backport from mainline
2019-10-06  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.c (darwin_override_options): Adjust objective-c
ABI version error messages to avoid punctuation and contracted
negations.

From-SVN: r277726
gcc/ChangeLog
gcc/config/darwin.c