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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:61aa380bad45fb070379f259f7abc5e5f50c9009

commit r15-1746-g61aa380bad45fb070379f259f7abc5e5f50c9009
Author: Rainer Orth <r...@cebitec.uni-bielefeld.de>
Date:   Mon Jul 1 11:20:15 2024 +0200

    libffi: Fix 32-bit SPARC structure passing [PR115681]

    The libffi.closures/single_entry_structs2.c test FAILs on 32-bit SPARC:

    FAIL: libffi.closures/single_entry_structs2.c -W -Wall -Wno-psabi -O0
    execution test

    The issue has been reported, analyzed and fixed upstream:

            Several tests FAIL on 32-bit Solaris/SPARC
            https://github.com/libffi/libffi/issues/841

    Therefore this patch imports the fix into the GCC tree.

    Tested on sparc-sun-solaris2.11.

    2024-07-01  Rainer Orth  <r...@cebitec.uni-bielefeld.de>

            libffi:
            PR libffi/115681
            * src/sparc/ffi.c (ffi_call_int): Copy structure arguments to
            maintain call-by-value semantics.

Reply via email to