Andre,

Here's a bit of wordsmith.  I removed the abbreviation "Esp."
I'm not sure if there is additional markup needed; especially,
with the "-fcoarray=single" I inserted.

  Coarray support has been reworked to allow access to components
  in derived types that have not been compiled with coarray support
  enabled; especially, when the derived type is in a binary only
  module.  This has changed the ABI and may lead to link-time errors
  with libraries compiled with a previous GCC version and the
  -fcoarray=single option.  If this option has been used, it is
  recommended to recompile the libraries.  The OpenCoarrays library
  is not affected, because it provides support backwards compatibility
  with the older ABI.

I'm not sure how to test the change.

OK to commit with or without my suggested change.

-- 
steve


On Thu, Mar 06, 2025 at 03:42:43PM +0100, Andre Vehreschild wrote:
> PING!
> 
> On Thu, 20 Feb 2025 10:54:30 +0100
> Andre Vehreschild <ve...@gmx.de> wrote:
> 
> > Hi all,
> >
> > attached patch makes an attempt to announce the ABI-changes in the coarrays
> > library. Me being German always has difficulties to find a proper wording. 
> > So
> > please propose improvements.
> >
> > Stupid question: How to I test this? The change looks good in my browser. Is
> > there a style checker, I don't see?
> >
> > Regards,
> >     Ande
> > --
> > Andre Vehreschild * Email: vehre ad gmx dot de
> 
> 
> --
> Andre Vehreschild * Email: vehre ad gmx dot de

> From 8b1ba25dd27c89dc6ff860835431e09f3895a4e1 Mon Sep 17 00:00:00 2001
> From: Andre Vehreschild <ve...@badgersystems.de>
> Date: Thu, 20 Feb 2025 10:47:22 +0100
> Subject: [PATCH] gcc-15/changes: Document coarray changes.
> 
> ABI of coarrays has changed.  Document possible linker errors for
> caf_single.
> ---
>  htdocs/gcc-15/changes.html | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html
> index 853fad03..ea1e7553 100644
> --- a/htdocs/gcc-15/changes.html
> +++ b/htdocs/gcc-15/changes.html
> @@ -436,6 +436,12 @@ asm (".text; %cc0: mov %cc2, %%r0; .previous;"
>        incompatible with the module format generated by GCC 8 - 14, but GCC
>        15 can for compatibility still read GCC 8 - 14 created module
>        files.</li>
> +  <li>Coarray support has been reworked to allow access to data in derived 
> types
> +      that have not been compiled with coarray support enabled.  Esp. when 
> the
> +      derived type is in a binary only module.  This may lead to linking 
> errors
> +      with the provided caf_single-libraries of previous GCC versions.  It is
> +      recommended to only use the newest version of caf_single.  The 
> OpenCoarrays
> +      library is not affected and provides all ABIs.</li>
>  </ul>
> 
>  <!-- <h3 id="go">Go</h3> -->
> --
> 2.48.1
> 


-- 
Steve

Reply via email to