From e3d2b0d040e9baf6c0548b865ed5244dec464cc1 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 29 Mar 2022 22:47:19 -0300 Subject: [PATCH] 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. --- gcc/testsuite/gcc.dg/analyzer/strndup-1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.2