Re: [PATCH] Fortran: defined assignment and vector subscripts [PR120140]
Jerry D <[email protected]>
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
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. Thanks, Jerry