aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorMikael Morin <mikael@gcc.gnu.org>2010-10-06 16:21:12 +0000
committerMikael Morin <mikael@gcc.gnu.org>2010-10-06 16:21:12 +0000
commitcebd5ce46df85de65b302c980fff26529a509d71 (patch)
tree97fa2660efa08f76908876cb3900be6ee7f2c9da /gcc/fortran
parent3231fe9002a12774393910a6fd2d68437562817a (diff)
downloadgcc-cebd5ce46df85de65b302c980fff26529a509d71.zip
gcc-cebd5ce46df85de65b302c980fff26529a509d71.tar.gz
gcc-cebd5ce46df85de65b302c980fff26529a509d71.tar.bz2
trans-intrinsic.c (gfc_conv_intrinsic_funcall): Also free symbol's subcomponents.
2010-10-06 Mikael Morin <mikael@gcc.gnu.org> * trans-intrinsic.c (gfc_conv_intrinsic_funcall): Also free symbol's subcomponents. From-SVN: r165049
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/trans-intrinsic.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 4f8a609..ce484d1 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,5 +1,10 @@
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
+ * trans-intrinsic.c (gfc_conv_intrinsic_funcall): Also free symbol's
+ subcomponents.
+
+2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
+
* trans-stmt.c (gfc_trans_forall_1): Free forall struct at the end.
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
diff --git a/gcc/fortran/trans-intrinsic.c b/gcc/fortran/trans-intrinsic.c
index a43bfc2..5a0a43e 100644
--- a/gcc/fortran/trans-intrinsic.c
+++ b/gcc/fortran/trans-intrinsic.c
@@ -1843,7 +1843,7 @@ gfc_conv_intrinsic_funcall (gfc_se * se, gfc_expr * expr)
gfc_conv_procedure_call (se, sym, expr->value.function.actual, expr,
append_args);
- gfc_free (sym);
+ gfc_free_symbol (sym);
}
/* ANY and ALL intrinsics. ANY->op == NE_EXPR, ALL->op == EQ_EXPR.