https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90718

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Iain Buclaw
<ibuc...@gcc.gnu.org>:

https://gcc.gnu.org/g:253b6edd2fc3499f1f2bd0f2d55cd47f852cfa09

commit r9-8548-g253b6edd2fc3499f1f2bd0f2d55cd47f852cfa09
Author: Iain Buclaw <ibuc...@gdcproject.org>
Date:   Mon Apr 27 23:51:50 2020 +0200

    libphobos: Fix struct layout of addrinfo on sparc-*-solaris*

    Comparing the struct addrinfo declarations in <netdb.h>

        struct addrinfo {
            ...
        #ifdef __sparcv9
            int _ai_pad;
        #endif /* __sparcv9 */
            ...
        };

    In the extern(C) core.sys bindings, there's a mismatch here; the system
    version has no _aid_pad member on 32-bit SPARC.

    libphobos/ChangeLog:

            PR d/90718
            * libdruntime/core/sys/posix/netdb.d (Solaris): Include _ai_pad
member
            in struct addrinfo only when targeting SPARC64.

Reply via email to