summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authormikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-06 16:21:12 +0000
committermikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-06 16:21:12 +0000
commit16760fe7ae22348de86857ed59483674729c10e9 (patch)
tree97fa2660efa08f76908876cb3900be6ee7f2c9da /gcc
parentcd0a40a070c255e040ed801dbe433b1cab4d867b (diff)
downloadgcc-16760fe7ae22348de86857ed59483674729c10e9.tar.gz
2010-10-06 Mikael Morin <mikael@gcc.gnu.org>
* trans-intrinsic.c (gfc_conv_intrinsic_funcall): Also free symbol's subcomponents. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 4f8a609278f..ce484d10ba9 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 a43bfc291fa..5a0a43ee033 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.