https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113150
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> --- on darwin we also get (all with the same diagnostic - about a leaked fd) I can report them separately if you like - but it seems likely to be a common cause: FAIL: c-c++-common/analyzer/fd-glibc-byte-stream-socket.c -std=c++98 (test for excess errors) FAIL: c-c++-common/analyzer/fd-glibc-byte-stream-socket.c -std=c++14 (test for excess errors) FAIL: c-c++-common/analyzer/fd-glibc-byte-stream-socket.c -std=c++17 (test for excess errors) FAIL: c-c++-common/analyzer/fd-glibc-byte-stream-socket.c -std=c++20 (test for excess errors) FAIL: c-c++-common/analyzer/fd-manpage-getaddrinfo-client.c -std=c++98 (test for excess errors) FAIL: c-c++-common/analyzer/fd-manpage-getaddrinfo-client.c -std=c++14 (test for excess errors) FAIL: c-c++-common/analyzer/fd-manpage-getaddrinfo-client.c -std=c++17 (test for excess errors) FAIL: c-c++-common/analyzer/fd-manpage-getaddrinfo-client.c -std=c++20 (test for excess errors) FAIL: c-c++-common/analyzer/fd-mappage-getaddrinfo-server.c -std=c++98 (test for excess errors) FAIL: c-c++-common/analyzer/fd-mappage-getaddrinfo-server.c -std=c++14 (test for excess errors) FAIL: c-c++-common/analyzer/fd-mappage-getaddrinfo-server.c -std=c++17 (test for excess errors) FAIL: c-c++-common/analyzer/fd-mappage-getaddrinfo-server.c -std=c++20 (test for excess errors) FAIL: c-c++-common/analyzer/fd-symbolic-socket.c -std=c++98 (test for excess errors) FAIL: c-c++-common/analyzer/fd-symbolic-socket.c -std=c++14 (test for excess errors) FAIL: c-c++-common/analyzer/fd-symbolic-socket.c -std=c++17 (test for excess errors) FAIL: c-c++-common/analyzer/fd-symbolic-socket.c -std=c++20 (test for excess errors)