https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92872
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Tobias Burnus from comment #3) > trunk/gcc/testsuite/gfortran.dg/bind_c_optional-1.f90 FIXED. Thanks for the report! You seems to have/create a nice test collection which is very, very helpful to avoid issues in the release! Note that due to PR 92189, your example only works at run time if the lower bound starts at 0 – at least it seems to work by chance, if I allocated it with lbound = 0 in the caller. (That's what I do in the added test case.) (In reply to Martin Liška from comment #1) > Confirmed, started with r276444. Thanks for doing all those bug triages!