Darwin, testsuite: Fix darwin-version-1.c fails with XCode 11.4.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 13 Apr 2020 18:27:21 +0000 (19:27 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 13 Apr 2020 18:29:41 +0000 (19:29 +0100)
commitf8e72b8d9f21c316b5719bf7a233b212edfc8dca
treea7517eb81924a526c72d01fcb47c9613670a126f
parentec72bb0c48cfbd8b9812a6df1049fbcbad472e15
Darwin, testsuite: Fix darwin-version-1.c fails with XCode 11.4.

From XCode 11.4 on 10.14/15 use of 10.6 and 10.7 is deprecated.
The tools issue diagnostics if -mmacosx-version-min= < 10.8

Adjust the testcase to avoid that usage on 10.14, 10.15 for now.

gcc/testsuite/ChangeLog:

2020-04-13  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.dg/darwin-version-1.c: Use -mmacosx-version-min= 10.8
for system versions 10.14 and 10.15.
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/darwin-version-1.c