Re: [RFC] User-visible changes for powerpc64-le-linux ABI changes

2021-11-01 Thread Thomas Koenig via Fortran
On 01.11.21 18:45, Jakub Jelinek wrote: Note, if we go the way of C/C++ with -mabi=ieeelongdouble vs. -mabi=ibmlongdouble choosing between the two ABIs and libgfortran being ABI compatible with both, then we don't need to bump soname. Sounds like one major pain solved. I think we should do i

[PATCH 5/5] Fortran manual: Remove old docs for never-implemented extensions.

2021-11-01 Thread Sandra Loosemore
2021-11-01 Sandra Loosemore gcc/fortran/ * gfortran.texi (Projects): Add bullet for helping with incomplete standards compliance. (Proposed Extensions): Delete section. --- gcc/fortran/gfortran.texi | 92 --- 1 file ch

[PATCH 4/5] Fortran manual: Update miscellaneous references to old standard versions.

2021-11-01 Thread Sandra Loosemore
2021-11-01 Sandra Loosemore gcc/fortran/ * intrinsic.texi (Introduction to Intrinsics): Genericize references to standard versions. * invoke.texi (-fall-intrinsics): Likewise. (-fmax-identifier-length=): Likewise. --- gcc/fortran/intrinsic.texi | 15

[PATCH 4/5] Fortran manual: Update miscellaneous references to old standard versions.

2021-11-01 Thread Sandra Loosemore
2021-11-01 Sandra Loosemore gcc/fortran/ * intrinsic.texi (Introduction to Intrinsics): Genericize references to standard versions. * invoke.texi (-fall-intrinsics): Likewise. (-fmax-identifier-length=): Likewise. --- gcc/fortran/intrinsic.texi | 15

[PATCH 3/5] Fortran manual: Update section on Interoperability with C

2021-11-01 Thread Sandra Loosemore
2021-11-01 Sandra Loosemore gcc/fortran/ * gfortran.texi (Interoperability with C): Copy-editing. Add more index entries. (Intrinsic Types): Likewise. (Derived Types and struct): Likewise. (Interoperable Global Variables): Likewise. (Inte

[PATCH 2/5] Fortran manual: Revise introductory chapter.

2021-11-01 Thread Sandra Loosemore
Fix various bit-rot in the discussion of standards conformance, remove material that is only of historical interest, copy-editing. Also move discussion of preprocessing out of the introductory chapter. 2021-11-01 Sandra Loosemore gcc/fortran/ * gfortran.texi (About GNU Fortran

[PATCH 1/5] Fortran manual: Combine standard conformance docs in one place.

2021-11-01 Thread Sandra Loosemore
Discussion of conformance with various revisions of the Fortran standard was split between two separate parts of the manual. This patch moves it all to the introductory chapter. 2021-11-01 Sandra Loosemore gcc/fortran/ * gfortran.texi (Standards): Move discussion of specific

[PATCH 0/5] Fortran manual updates

2021-11-01 Thread Sandra Loosemore
This series of patches addresses some areas of bit-rot in the GNU Fortran manual, mainly relating to the state of standard compliance and the recently-completed TS29113 work. I also removed some material that is primarily of historical interest; given that gfortran replaced g77 almost 17 years ago

[PATCH] PR fortran/102817 - [12 Regression] ICE in gfc_clear_shape, at fortran/expr.c:422

2021-11-01 Thread Harald Anlauf via Fortran
Dear Fortranners, a recent patch uncovered a latent issue with simplification of array-valued expressions where the resulting shape was not set from the referenced subobject. Once found, the fix looks obvious. Regtested on x86_64-pc-linux-gnu. OK? Thanks, Harald Fortran: fix simplification of

ping re F2003 and F2008 standards compliance

2021-11-01 Thread Sandra Loosemore
With my documentation maintainer hat on, I've been working on updating the standards compliance and TS29113-related material in the GNU Fortran manual (patches will be posted soon). I also spent some time going through the related wiki pages a few days ago to get them updated as well. For F20

Re: [RFC] User-visible changes for powerpc64-le-linux ABI changes

2021-11-01 Thread Michael Meissner via Fortran
On Mon, Nov 01, 2021 at 10:54:27AM -0500, Bill Schmidt wrote: > Hi Thomas, > > To me this looks excellent.  If you feel that support for both forms is > achievable, > that's certainly superior. We had previously been concerned about whether the > necessary name mangling support would be possible

Re: [RFC] User-visible changes for powerpc64-le-linux ABI changes

2021-11-01 Thread Jakub Jelinek via Fortran
On Mon, Nov 01, 2021 at 06:32:51PM +0100, Thomas Koenig wrote: > f->value.function.name > = gfc_get_string (PREFIX ("matmul_%c%d"), gfc_type_letter (f->ts.type), > f->ts.kind); > > Easy enough to add something there if ts.type is BT_REAL, > ts.kind is 16 and the compiler

Re: [RFC] User-visible changes for powerpc64-le-linux ABI changes

2021-11-01 Thread Thomas Koenig via Fortran
Hi Bill, We had previously been concerned about whether the necessary name mangling support would be possible, but it sounds like you aren't overly worried about that. We can always add a letter to the kind number, or use a different number in the encoding, or someting This has to be done i

Re: libgfortran.so SONAME and powerpc64le-linux ABI changes (work in progress patches)

2021-11-01 Thread Bill Schmidt via Fortran
Would starting from Advance Toolchain 15 with the most recent glibc make things easier for Thomas to test? Thanks, Bill On 10/29/21 4:06 PM, Michael Meissner via Gcc wrote: > On Fri, Oct 29, 2021 at 09:07:38PM +0200, Thomas Koenig wrote: >> Hi Michael, >> >> I tried this out on the one POWER mac

Re: [RFC] User-visible changes for powerpc64-le-linux ABI changes

2021-11-01 Thread Bill Schmidt via Fortran
Hi Thomas, To me this looks excellent.  If you feel that support for both forms is achievable, that's certainly superior. We had previously been concerned about whether the necessary name mangling support would be possible, but it sounds like you aren't overly worried about that. I'll let Mike