[PATCH] fortran: allow character in conditional expression

Yuao Ma addr2line@gmail.com
Mon Sep 15 14:17:29 GMT 2025


Hi all,

The first cond-expr patch has been committed as r16-3848-gaf53cfeb8352b1.

This patch inspired me to work on an even clearer feature: allowing
cond-expr to use characters. The change is small; we just need to
conditionally fill the string_length. I'd like to implement this
before moving on to the .nil. part. This patch also includes a new
TODO for the array "sorry case" that was missing before.

Maybe OK for trunk?

Thanks,
Yuao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fortran-allow-character-in-conditional-expression.patch
Type: application/octet-stream
Size: 4652 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250915/5e14c75e/attachment.obj>


More information about the Fortran mailing list