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

--- Comment #24 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <[email protected]>:

https://gcc.gnu.org/g:f57bcde8598395f6e6aac50bc388352af76b8125

commit r16-8250-gf57bcde8598395f6e6aac50bc388352af76b8125
Author: Christopher Albert <[email protected]>
Date:   Fri Mar 20 23:09:26 2026 +0100

    libgfortran: Disable caf_shmem without usable process-shared pthreads
[PR124512]

    Use a compile-time usability probe for the process-shared pthread API
    required by caf_shmem and only build libcaf_shmem when that probe succeeds.

    caf_shmem needs process-shared pthread primitives that are visible through
    the default pthread headers.  AX_PTHREAD already established the baseline
    pthread flags; this additional check only verifies that the specific
    process-shared API surface is usable for caf/shmem/thread_support.c.

            PR fortran/124512

    libgfortran/ChangeLog:

            * Makefile.am: Adjust the dependencies.
            * Makefile.in: Regenerate.
            * configure: Regenerate.
            * configure.ac: Add new check.

    Signed-off-by: Christopher Albert <[email protected]>

Reply via email to