[Patch, Fortran] Small patch for calls to gfc_deallocate_scalar_with_status
Janus Weil
janus@gcc.gnu.org
Sat Dec 8 17:02:00 GMT 2012
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
More information about the Gcc-patches
mailing list