[PATCH] PR88076 Adjust caf.exp for FreeBSD

Steve Kargl kargls@comcast.net
Tue Feb 24 01:35:29 GMT 2026


Jerry,

I only have the megapatch that you sent me, which
clocks in as a 8956 line diff, so I can appreciate
the need to get this committed.  Can one bootstrap
gcc after applying each individual patch?  Or, do
subsets of the patch need to be applied for a
successful bootstrap (e.g., patch 1-4, 5-10, etc)?

As this is a big diff and gcc is in stage4, do you
need RM approval?

-- 
steve

On 2/23/26 10:40, Jerry D wrote:
> 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.
> 



More information about the Fortran mailing list