From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id C5C293857413; Wed, 30 Mar 2022 01:48:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5C293857413 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7908] analyzer/strndup-1.c: skip on *-*-vxworks* X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/heads/master X-Git-Oldrev: a5a8d512782cf4765cf17fc79dd7ecc2a392e0a9 X-Git-Newrev: e3d2b0d040e9baf6c0548b865ed5244dec464cc1 Message-Id: <20220330014803.C5C293857413@sourceware.org> Date: Wed, 30 Mar 2022 01:48:03 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2022 01:48:03 -0000 https://gcc.gnu.org/g:e3d2b0d040e9baf6c0548b865ed5244dec464cc1 commit r12-7908-ge3d2b0d040e9baf6c0548b865ed5244dec464cc1 Author: Alexandre Oliva Date: Tue Mar 29 22:47:19 2022 -0300 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: --- 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 edf494ac284..8cf7a42bf53 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