]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin, testsuite, backport fix for darwin-minversion-1,2.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 4 Aug 2019 12:12:30 +0000 (12:12 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 4 Aug 2019 12:12:30 +0000 (12:12 +0000)
commitf58ad7a2eb30758a17842f67f6e91fe35c941f3e
treec91d03279b7287556068a7817328bb1d7287c979
parenta8fed9438452183445c3fc8a28f8304a112d4835
Darwin, testsuite, backport fix for darwin-minversion-1,2.

Newer OS versions (10.14+) do not provide some of the CRTs that are used
for older ones (e.g. 10.5), and thus link tests that specify targeting
such a revision fail. We retain the testing of the correct defined OS
version number but switch to compile-only testing for these two tests.

2019-08-04  Iain Sandoe  <iain@sandoe.co.uk>

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

* gcc.dg/darwin-minversion-1.c: Use compile rather than link/run.
* gcc.dg/darwin-minversion-2.c: Likewise.

From-SVN: r274078
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/darwin-minversion-1.c
gcc/testsuite/gcc.dg/darwin-minversion-2.c