]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite, Darwin : Skip a test requiring strndup in libc.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 15 Mar 2021 21:40:40 +0000 (21:40 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 29 Aug 2021 06:53:18 +0000 (07:53 +0100)
commitdc033e0149fd7790b89f816041e87a6ddc22e21c
tree4af7d547e848ae96e0c7849a80306b8b09b5e4cd
parentfc3e9f58ec18154027aadc6aa055490acb8c2920
testsuite, Darwin : Skip a test requiring strndup in libc.

Before Darwin11 there is no strndup in libc. This test fails with
warning output because of that - so skip it on these versions (since
they are not able to use strndup anyway).

gcc/testsuite/ChangeLog:

* gcc.dg/analyzer/strndup-1.c: Skip for Darwin versions
without strndup support in libc.
gcc/testsuite/gcc.dg/analyzer/strndup-1.c