Re: [Fortran, Patch, PR117643] Implement F_C_STRING()

2024-12-18 Thread Steve Kargl
On Wed, Dec 18, 2024 at 10:09:26AM -0800, Jerry D wrote: > On 12/18/24 4:11 AM, Harald Anlauf wrote: > > Hi Steve, > > > > thanks for the draft patch. > > > > I haven't looked close enough, but you may have to add support > > for 'asis' being an optional dummy variable.  The following > > example

Re: [Fortran, Patch, PR117643] Implement F_C_STRING()

2024-12-18 Thread Harald Anlauf
Am 18.12.24 um 22:05 schrieb Steve Kargl: On Wed, Dec 18, 2024 at 01:11:14PM +0100, Harald Anlauf wrote: I haven't looked close enough, but you may have to add support for 'asis' being an optional dummy variable. The following example crashes here with a segfault: (program snipped for brevi

Re: [PING!, Fortran, Patch, PR107635, Part 1] Rework handling of allocatable components in derived type coarrays.

2024-12-18 Thread Andre Vehreschild
Hi Jerry, I am working on the OpenCoarrays library in parallel. At the moment some of their tests are non functional. And today I even found a bug in the current implementation of caf-single and in my new approach. I am still fixing that. But that should not keep you from looking into this patch

Re: [Fortran, Patch, PR117643] Implement F_C_STRING()

2024-12-18 Thread Steve Kargl
On Wed, Dec 18, 2024 at 01:11:14PM +0100, Harald Anlauf wrote: > > I haven't looked close enough, but you may have to add support > for 'asis' being an optional dummy variable. The following > example crashes here with a segfault: > (program snipped for brevity) > > There are other intrinsics

Re: [PING!, Fortran, Patch, PR107635, Part 1] Rework handling of allocatable components in derived type coarrays.

2024-12-18 Thread Jerry D
Andre, have you tested this with the tests in OpenCoarrays suite? I ask since this touches coarray things. Jerry On 12/16/24 1:58 AM, Andre Vehreschild wrote: PING! On Fri, 6 Dec 2024 19:10:08 +0100 Andre Vehreschild wrote: Hi all, I had to dive deeply into the issue with handling allocat

Re: [Fortran, Patch, PR117643] Implement F_C_STRING()

2024-12-18 Thread Harald Anlauf
Am 18.12.24 um 19:09 schrieb Jerry D: On 12/18/24 4:11 AM, Harald Anlauf wrote: Hi Steve, thanks for the draft patch. I haven't looked close enough, but you may have to add support for 'asis' being an optional dummy variable.  The following example crashes here with a segfault: program foo   

Re: [Fortran, Patch, PR117643] Implement F_C_STRING()

2024-12-18 Thread Jerry D
On 12/18/24 4:11 AM, Harald Anlauf wrote: Hi Steve, thanks for the draft patch. I haven't looked close enough, but you may have to add support for 'asis' being an optional dummy variable.  The following example crashes here with a segfault: program foo    use iso_c_binding, only : c_null_char

Re: [Fortran, Patch, PR117643] Implement F_C_STRING()

2024-12-18 Thread Harald Anlauf
Hi Steve, thanks for the draft patch. I haven't looked close enough, but you may have to add support for 'asis' being an optional dummy variable. The following example crashes here with a segfault: program foo use iso_c_binding, only : c_null_char, c_char, f_c_string, c_size_t implicit n