[PATCH] fortran: support .NIL. in conditional arguments
Yuao Ma
addr2line@gmail.com
Mon Oct 20 18:34:54 GMT 2025
Hi Steve,
On Tue, Oct 21, 2025 at 2:18 AM Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
> I don't have the patch installed, so cannot directly test;
> but, the above is technically a invalid program. 'cc' is
> referenced but never defined. I would expect a warning
> with -Wall and an ICE is possible as 'cc' can be using
> whatever is in memory.
This program is merely a POC provided by Tobias, separate from the
patch itself. I have, however, resolved the issue involving the
character type and nil.
Hi Tobias,
Thanks for the detailed review! I've fixed most of the issues locally
and am currently working on the OPTIONAL + VALUE part. IIUC, we need
to handle this in conv_dummy_value, rather than in
gfc_conv_conditional_expr? I haven't figured out the best approach for
that yet, though.
Yuao
More information about the Fortran
mailing list