aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2024-05-14 16:23:14 +0200
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2024-05-14 16:23:14 +0200
commitf97d86f897bcf0ffda4d8d2e5b78a160e9ece140 (patch)
tree44c88402e405ee5fc98b18be5436e68e5d0c3a07 /gcc/expr.cc
parent6cc8698244b522ad079675022c9de9e40de85878 (diff)
downloadgcc-f97d86f897bcf0ffda4d8d2e5b78a160e9ece140.zip
gcc-f97d86f897bcf0ffda4d8d2e5b78a160e9ece140.tar.gz
gcc-f97d86f897bcf0ffda4d8d2e5b78a160e9ece140.tar.bz2
testsuite: analyzer: Fix fd-glibc-byte-stream-connection-server.c on Solaris [PR107750]
gcc.dg/analyzer/fd-glibc-byte-stream-connection-server.c currently FAILs on Solaris: FAIL: gcc.dg/analyzer/fd-glibc-byte-stream-connection-server.c (test for excess errors) Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/analyzer/fd-glibc-byte-stream-connection-server.c:91:3: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] Solaris <sys/select.h> has but no declaration of memset. While one can argue that this should be fixed, it's easy enough to just include <string.h> instead, which is what this patch does. Tested on i386-pc-solaris2.11 and i686-pc-linux-gnu. 2024-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> gcc/testsuite: PR analyzer/107750 * gcc.dg/analyzer/fd-glibc-byte-stream-connection-server.c: Include <string.h>.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions