Re: [PATCH] Fortran: checking of passed character length [PR125393]

Harald Anlauf <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
Am 29.05.26 um 6:36 AM schrieb Jerry D:
> On 5/28/26 2:12 PM, Harald Anlauf wrote:
>> Dear all,
>>
>> the attached patch fixes a 16/17 regression I caused when trying to
>> improve the checking of passed character length.  When the dummy
>> argument is a scalar character variable and the actual is an array
>> element, the code wrongly looked at the storage size until the end
>> of the array.
>>
>> Regtested on x86_64-pc-linux-gnu.  OK for mainline / 16-backport?
>>
>> Thanks,
>> Harald
>>
> 
> OK for mainline and backport.
> 
> Thanks Harald.
> 
> Jerry

Thanks for the review, Jerry!

Pushed to mainline so far as r17-988-g47bb24546297ef .

Harald
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.