aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-array.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@gcc.gnu.org>2012-12-09 16:29:32 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2012-12-09 16:29:32 +0100
commitc5c1aeb2f2566d0a53dca7cd04c97dd7bb8c5a22 (patch)
tree196252a6163454f49b6577ceb876e04ba0f32d45 /gcc/fortran/trans-array.c
parent2608ca66e1059ea74c34e54a7cfc78264638f068 (diff)
downloadgcc-c5c1aeb2f2566d0a53dca7cd04c97dd7bb8c5a22.zip
gcc-c5c1aeb2f2566d0a53dca7cd04c97dd7bb8c5a22.tar.gz
gcc-c5c1aeb2f2566d0a53dca7cd04c97dd7bb8c5a22.tar.bz2
trans-array.c (gfc_deallocate_scalar_with_status): Use NULL_TREE in the call to gfc_deallocate_scalar_with_status.
2012-12-09 Tobias Burnus <burnus@net-b.de> * 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. From-SVN: r194332
Diffstat (limited to 'gcc/fortran/trans-array.c')
-rw-r--r--gcc/fortran/trans-array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c
index 24adfde..0689892 100644
--- a/gcc/fortran/trans-array.c
+++ b/gcc/fortran/trans-array.c
@@ -7589,7 +7589,7 @@ structure_alloc_comps (gfc_symbol * der_type, tree decl,
CLASS_DATA (c)->attr.codimension);
else
{
- tmp = gfc_deallocate_scalar_with_status (comp, NULL, true, NULL,
+ tmp = gfc_deallocate_scalar_with_status (comp, NULL_TREE, true, NULL,
CLASS_DATA (c)->ts);
gfc_add_expr_to_block (&tmpblock, tmp);
called_dealloc_with_status = true;