Re: [Fortran, Patch, PR81265, v1] Fix passing coarrays always w/ descriptor

2024-09-30 Thread Andre Vehreschild
Hi Steve, thanks for the review. Committed as: gcc-15-3958-gbac95615b50 Thanks again, Andre On Fri, 27 Sep 2024 10:48:46 -0700 Steve Kargl wrote: > On Fri, Sep 27, 2024 at 03:20:43PM +0200, Andre Vehreschild wrote: > > > > attached patch fixes a runtime issue when a coarray was passed

Re: [Fortran, Patch, PR81265, v1] Fix passing coarrays always w/ descriptor

2024-09-27 Thread Steve Kargl
On Fri, Sep 27, 2024 at 08:12:01PM +0200, Andre Vehreschild wrote: > > the testcase is in the coarray directory, where tests are executed mit > -fcoarray=single and lib. I don't know about none. Because the code stops > compiling when it encounters a coarray with no single or lib. Therefore I > su

Re: [Fortran, Patch, PR81265, v1] Fix passing coarrays always w/ descriptor

2024-09-27 Thread Andre Vehreschild
Hi Steve, the testcase is in the coarray directory, where tests are executed mit -fcoarray=single and lib. I don't know about none. Because the code stops compiling when it encounters a coarray with no single or lib. Therefore I suppose there no way to run it without coarrays. Hope that helps, A

Re: [Fortran, Patch, PR81265, v1] Fix passing coarrays always w/ descriptor

2024-09-27 Thread Steve Kargl
On Fri, Sep 27, 2024 at 03:20:43PM +0200, Andre Vehreschild wrote: > > attached patch fixes a runtime issue when a coarray was passed as > parameter to a procedure that was itself a parameter. The issue here > was that the coarray was passed as array pointer (i.e. w/o descriptor) > to the function

[Fortran, Patch, PR81265, v1] Fix passing coarrays always w/ descriptor

2024-09-27 Thread Andre Vehreschild
Hi all, attached patch fixes a runtime issue when a coarray was passed as parameter to a procedure that was itself a parameter. The issue here was that the coarray was passed as array pointer (i.e. w/o descriptor) to the function, but the function expected it to be an array w/ descriptor. Regtest