[gcc r12-7908] analyzer/strndup-1.c: skip on *-*-vxworks*
Alexandre Oliva
aoliva@gcc.gnu.org
Wed Mar 30 01:48:03 GMT 2022
https://gcc.gnu.org/g:e3d2b0d040e9baf6c0548b865ed5244dec464cc1
commit r12-7908-ge3d2b0d040e9baf6c0548b865ed5244dec464cc1
Author: Alexandre Oliva <oliva@adacore.com>
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 <string.h>
#include <stdlib.h>
More information about the Gcc-cvs
mailing list