Btw, one nit about your ChangeLog:
2012-12-05 Tobias Burnus <[email protected]>
* trans-array.c (gfc_deallocate_scalar_with_status): Use
NULL_TREE in the call to gfc_deallocate_scalar_with_status.
* trans-decl.c (gfc_trans_deferred_vars): Pass symbol.
* trans-stmt.c (gfc_trans_deallocate): Pass polymorphic variable.
The trans-array.c line should have "structure_alloc_comps".
Cheers,
Janus
2012/12/5 Tobias Burnus <[email protected]>:
> First, I would like to *ping* the patch
> http://gcc.gnu.org/ml/fortran/2012-12/msg00022.html
>
>
> The patch below is part of my FINAL patch. The NULL -> NULL_TREE change is
> obvious. 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.
>
> Build and regtested on x86-64-linux.
> OK for the trunk?
>
> Tobias