Hi Harald,

On Thu, Nov 13, 2025 at 3:59 AM Harald Anlauf <[email protected]> wrote:
> this looks basically fine to me.
>
> Two comments from my side:
>
> - please use distinct error stop codes (e.g.: 1, 2) in different places
>

Done.

> - you could add a further sub-case to complete the testing by adding
>    before the end of the main:
>
> b = 1
> has_value = b
> is_allocated = .true.
> is_present   = .true.
> call test(b)
> call test2(b)
>
>

Added.

Yuao

Attachment: 0001-fortran-correctly-handle-optional-allocatable-dummy-.patch
Description: Binary data

Reply via email to