[Patch, fortran] PR116733: Generic processing of assumed rank objects (f202y)
Paul Richard Thomas
paul.richard.thomas@gmail.com
Mon Sep 23 09:02:55 GMT 2024
Hi All,
The moment I saw the DIN4 proposal for "Generic processing of assumed rank
objects", I thought that this was a highly intuitive and implementable
proposal. I implemented a test version in June and had some correspondence
with Reinhold Bader about it shortly before he passed away.
Malcolm Cohen wrote J3/24-136r1 in response to this and I have posted a
comment in PR116733 addressing the the extent to which the attached patch
addresses his remarks.
Before this patch goes through the approval process, we have to consider
how experimental F202y features can be carried forward. I was badly bitten
by failing to synchronise the array descriptor reform branch to the extent
that I gave up on it and adopted the simplified reform that is now in
place. Given the likely timescale before the full adoption of the F202y
standard, this is a considerable risk for experimental features, given the
variability of active maintainers:
What I propose is the following:
(i) For audit purposes, I have opened PR116732, which should be blocked by
PRs for each experimental F202y feature;
(ii) These PRs should represent a complete audit trail for each feature; and
(iii) All such experimental features should be enabled on mainline by
--std=f202y, which is equivalent to -std=f2023+f202y.
The attached patch enables pointer assignment and associate, both with rank
remapping, plus the reshape intrinsics. which was not part of the DIN4
proposal.
The ChangeLog entries do a pretty complete job of describing the patch.
Regtests correctly. OK for mainline?
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20240923/25cee270/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check200924.diff
Type: text/x-patch
Size: 32526 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20240923/25cee270/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Change.Logs
Type: application/octet-stream
Size: 2368 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20240923/25cee270/attachment-0001.obj>
More information about the Fortran
mailing list