Re: [PATCH. fortran] Add automatic linking to caf_shmem using -fcoarray=shared
Jerry D <[email protected]>
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
On 5/11/26 3:41 AM, Paul Richard Thomas wrote: > Hi Jerry, > > This does what it says on the box :-) > > OK for mainline and backporting to 16-branch. > > Regards > > Paul > --- snip --- commit be1da01067c898a3e3979bfb1edd05f115ab2e3e (HEAD -> master, origin/master, origin/HEAD) Author: Jerry DeLisle <[email protected]> Date: Sat May 9 11:49:21 2026 -0700 fortran: Add -fcoarray=shared option to auto-link -lcaf_shmem The new -fcoarray=shared option provides a convenient shorthand for the common invocation -fcoarray=lib -lcaf_shmem. The driver transforms -fcoarray=shared into -fcoarray=lib for the frontend and automatically appends -lcaf_shmem to the link command. Existing uses of -fcoarray=lib are unaffected. Regards, Jerry