Hi Tobias, hi Harald, The attached patch resolves the issue introduced in r14-8400-g186ae6d2cb93ad. Reproducer: https://godbolt.org/z/3aGM6enjv.
I believe the root cause is that, for an allocatable argument, we need to first check if it is nullptr before validating the inner value. Regression test on x86_64 linux, ok for trunk? Thanks, Yuao
0001-fortran-correctly-handle-optional-allocatable-dummy-.patch
Description: Binary data
