From: Alexandre Oliva Date: Wed, 30 Mar 2022 01:47:19 +0000 (-0300) Subject: analyzer/strndup-1.c: skip on *-*-vxworks* X-Git-Tag: basepoints/gcc-13~405 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3d2b0d040e9baf6c0548b865ed5244dec464cc1;p=thirdparty%2Fgcc.git analyzer/strndup-1.c: skip on *-*-vxworks* Add vxworks to the set of operating systems whose C libraries don't support strndup. for gcc/testsuite/ChangeLog * gcc.dg/analyzer/strndup-1.c: Add *-*-vxworks* to no-strndup in libc. --- diff --git a/gcc/testsuite/gcc.dg/analyzer/strndup-1.c b/gcc/testsuite/gcc.dg/analyzer/strndup-1.c index edf494ac2844..8cf7a42bf536 100644 --- a/gcc/testsuite/gcc.dg/analyzer/strndup-1.c +++ b/gcc/testsuite/gcc.dg/analyzer/strndup-1.c @@ -1,4 +1,5 @@ -/* { dg-skip-if "no strndup in libc" { *-*-darwin[789]* *-*-darwin10* *-*-mingw* } } */ +/* { dg-skip-if "no strndup in libc" { *-*-darwin[789]* *-*-darwin10* *-*-mingw* *-*-vxworks* } } */ + #include #include