[PATCH] PR88076 Adjust caf.exp for FreeBSD

Jerry D jvdelisle2@gmail.com
Mon Feb 23 18:40:54 GMT 2026


Hello all,

The attached patch from Steve enables all tests to pass on FreeBSD.

I am aware that Tobias suggests we add or adjust a *spec.in file to include the 
-pthread automatically when gfortran is invoked. We need to do this as a follow on.

With the attached patch I am now at 22 patches pending in trunk and it is
getting too onerous for me to manage this here.

The set has been successfully tested on x86_64, both -m32 and -m64, Darwin, 
FreeBSD, and others.

I really need approval for the whole set so we can get it exposed and deal with 
fixes as-needed.

OK to push please?

Regards,

Jerry

Author: Steve Kargl <kargls@comcast.net>
Date:   Mon Feb 23 10:18:00 2026 -0800

     Fortran: Use -pthread on target *-*-freebsd*

             PR fortran/88076

     gcc/testsuite/ChangeLog:

             * gfortran.dg/coarray/caf.exp: If the target is a FreeBSD
             system add -pthread when running tests.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup-caf.exp.diff
Type: text/x-patch
Size: 1233 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20260223/b831056f/attachment.bin>


More information about the Fortran mailing list