Hi Tobias, > The patch below is part of my FINAL patch. The NULL -> NULL_TREE change is > obvious.
certainly ok. > The expr to al->expr change is to pass a BT_CLASS instead of a > BT_DERIVED. And the NULL to gfc_lval_expr_from_sym change allows to access > var->_vtab->_final for a BT_CLASS deferred variable. It seems that both of them will not have any effect right now, but are useful only as preparation for FINAL, right? > Build and regtested on x86-64-linux. > OK for the trunk? Yes, ok from my side. One could also commit those changes together with the actual changes that will come in gfc_deallocate_scalar_with_status. OTOH, they are not doing any harm, so: Ok for trunk. Thanks for the patch, Janus