aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2021-06-14 14:36:20 +0200
committerTobias Burnus <tobias@codesourcery.com>2021-06-14 14:44:23 +0200
commita893b26f7311fe65b604f12a8fa5d5d64f5454e2 (patch)
tree6938d094587e8fd9c133d7b84efba12d54e466ab /gcc/fortran/resolve.c
parentc4c47a84a16a29d7077f537051d90de1f3475957 (diff)
downloadgcc-a893b26f7311fe65b604f12a8fa5d5d64f5454e2.zip
gcc-a893b26f7311fe65b604f12a8fa5d5d64f5454e2.tar.gz
gcc-a893b26f7311fe65b604f12a8fa5d5d64f5454e2.tar.bz2
Fortran: resolve.c - remove '*XCNEW' based nullifying
gcc/fortran/ChangeLog: * resolve.c (resolve_variable): Remove *XCNEW used to nullify nullified memory.
Diffstat (limited to 'gcc/fortran/resolve.c')
-rw-r--r--gcc/fortran/resolve.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index a37ad66..45c3ad3 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -5709,7 +5709,6 @@ resolve_variable (gfc_expr *e)
part_ref. */
gfc_ref *ref = gfc_get_ref ();
ref->type = REF_ARRAY;
- ref->u.ar = *gfc_get_array_ref();
ref->u.ar.type = AR_FULL;
if (sym->as)
{