Re: [PATCH] Fortran: defined assignment and vector subscripts [PR120140]

Harald Anlauf <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
Hi Jerry!

Am 11.04.26 um 2:14 AM schrieb Jerry D:
> On 4/10/26 2:35 PM, Harald Anlauf wrote:
>> Dear all,
>>
>> here's a patch that allows vector subscripts to INTENT(OUT/INOUT)
>> array arguments to elemental procedures and basically fixes defined
>> assignment as used in the PR.
>>
>> Not yet resolved: when the l.h.s. depends on the r.h.s., and the
>> l.h.s. uses vector subscripts, the result is incorrect because the
>> temporary is not properly copied back.
>> (Well, some other compilers have issues here, too.)
>>
>> Paul indicated in the PR that he is working on this issue.
>>
>> The testcase exercises what works and indicates what doesn't.
>> (I also tested with NAG, ifx, and AMD flang, and each of them
>> has some issue here or there.)
>>
>> Regtested cleanly on x86_64-pc-linux-gnu.  OK for mainline?
>>
>> Or should I rather wait for Paul?
>>
>> Thanks,
>> Harald
>>
> 
> Green to go. Just now right after the Artemis II Splash Down.

Splashed^WPushed as r16-8569-g73022dea028fd5 .

I'll deal with the remaining wrinkles Paul has been working
on separately.

Thanks for the review!

Harald

> Thanks,
> 
> Jerry
>
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.