diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2023-12-25 12:41:50 -0500 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2023-12-25 12:43:46 -0500 |
commit | 8d412b97cebca557fbd1509d6413a3f357423574 (patch) | |
tree | 2dc838f849d21b07df8fd3c265942d9141cd64bb | |
parent | ed60b2868abdb7932bda1dd08477c12fe62a49cb (diff) | |
download | gcc-8d412b97cebca557fbd1509d6413a3f357423574.zip gcc-8d412b97cebca557fbd1509d6413a3f357423574.tar.gz gcc-8d412b97cebca557fbd1509d6413a3f357423574.tar.bz2 |
testsuite: Skip analyzer tests on AIX.
Some new analyzer tests fail on AIX.
gcc/testsuite/ChangeLog:
* c-c++-common/analyzer/capacity-1.c: Skip on AIX.
* c-c++-common/analyzer/capacity-2.c: Same.
* c-c++-common/analyzer/fd-glibc-byte-stream-socket.c: Same.
* c-c++-common/analyzer/fd-manpage-getaddrinfo-client.c: Same.
* c-c++-common/analyzer/fd-mappage-getaddrinfo-server.c: Same.
* gcc.dg/analyzer/fd-glibc-byte-stream-connection-server.c: Same.
Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
6 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/analyzer/capacity-1.c b/gcc/testsuite/c-c++-common/analyzer/capacity-1.c index ae31ced..cfee115 100644 --- a/gcc/testsuite/c-c++-common/analyzer/capacity-1.c +++ b/gcc/testsuite/c-c++-common/analyzer/capacity-1.c @@ -1,4 +1,5 @@ /* { dg-require-effective-target alloca } */ +/* { dg-skip-if "" { powerpc*-*-aix* } } */ #include <stdlib.h> #include "../../gcc.dg/analyzer/analyzer-decls.h" diff --git a/gcc/testsuite/c-c++-common/analyzer/capacity-2.c b/gcc/testsuite/c-c++-common/analyzer/capacity-2.c index 2db1b3f..fbdb61a 100644 --- a/gcc/testsuite/c-c++-common/analyzer/capacity-2.c +++ b/gcc/testsuite/c-c++-common/analyzer/capacity-2.c @@ -1,3 +1,5 @@ +/* { dg-skip-if "" { powerpc*-*-aix* } } */ + #include <stdlib.h> #include "analyzer-decls.h" diff --git a/gcc/testsuite/c-c++-common/analyzer/fd-glibc-byte-stream-socket.c b/gcc/testsuite/c-c++-common/analyzer/fd-glibc-byte-stream-socket.c index 806bb24..d9666f9 100644 --- a/gcc/testsuite/c-c++-common/analyzer/fd-glibc-byte-stream-socket.c +++ b/gcc/testsuite/c-c++-common/analyzer/fd-glibc-byte-stream-socket.c @@ -1,5 +1,6 @@ /* Example from glibc manual (16.9.6). */ /* { dg-require-effective-target sockets } */ +/* { dg-skip-if "" { powerpc*-*-aix* } } */ #include <stdio.h> #include <string.h> diff --git a/gcc/testsuite/c-c++-common/analyzer/fd-manpage-getaddrinfo-client.c b/gcc/testsuite/c-c++-common/analyzer/fd-manpage-getaddrinfo-client.c index ee627de..16da933 100644 --- a/gcc/testsuite/c-c++-common/analyzer/fd-manpage-getaddrinfo-client.c +++ b/gcc/testsuite/c-c++-common/analyzer/fd-manpage-getaddrinfo-client.c @@ -28,6 +28,7 @@ the source, must acknowledge the copyright and authors of this work. /* { dg-require-effective-target sockets } */ /* { dg-additional-options "-Wno-analyzer-too-complex" } */ +/* { dg-skip-if "" { powerpc*-*-aix* } } */ #include <sys/types.h> #include <sys/socket.h> diff --git a/gcc/testsuite/c-c++-common/analyzer/fd-mappage-getaddrinfo-server.c b/gcc/testsuite/c-c++-common/analyzer/fd-mappage-getaddrinfo-server.c index d2e39eb..c02ee6f 100644 --- a/gcc/testsuite/c-c++-common/analyzer/fd-mappage-getaddrinfo-server.c +++ b/gcc/testsuite/c-c++-common/analyzer/fd-mappage-getaddrinfo-server.c @@ -27,6 +27,7 @@ the source, must acknowledge the copyright and authors of this work. */ /* { dg-require-effective-target sockets } */ +/* { dg-skip-if "" { powerpc*-*-aix* } } */ #include <sys/types.h> #include <stdio.h> diff --git a/gcc/testsuite/gcc.dg/analyzer/fd-glibc-byte-stream-connection-server.c b/gcc/testsuite/gcc.dg/analyzer/fd-glibc-byte-stream-connection-server.c index 5a1a6f5..d8b697d 100644 --- a/gcc/testsuite/gcc.dg/analyzer/fd-glibc-byte-stream-connection-server.c +++ b/gcc/testsuite/gcc.dg/analyzer/fd-glibc-byte-stream-connection-server.c @@ -1,6 +1,7 @@ /* Example from glibc manual (16.9.7). */ /* { dg-require-effective-target sockets } */ /* { dg-additional-options "-Wno-analyzer-too-complex" } */ +/* { dg-skip-if "" { powerpc*-*-aix* } } */ #include <stdio.h> #include <errno.h> |