[PATCH] Fortran: fix issue with I/O of array pointer [PR107968]

Harald Anlauf anlauf@gmx.de
Sat Oct 4 17:05:14 GMT 2025


Am 03.10.25 um 23:07 schrieb Jerry D:
> On 10/3/25 12:29 PM, Harald Anlauf wrote:
>> Dear All,
>>
>> the attached patch fixes an issue where array I/O is falsely optimized
>> in the case when a section of an array pointer is involved, because
>> the pointee can be non-contiguous.  As we already scalarize the case
>> of a full array with pointer attribute, we should do the same here.
>>
>> Regtested on x86_64-pc-linux-gnu.  OK for mainline?  15-backport?
>>
>> Thanks,
>> Harald
>>
> 
> Applied and retested here good.
> 
> OK for mainline and backport when you choose.

Thanks for the review and retesting, Jerry!

Pushed as r16-4222-ge3431c6fd4691d .

Harald

> Thanks much!
> 
> Jerry
> 



More information about the Fortran mailing list