summaryrefslogtreecommitdiff
path: root/gcc/fortran/frontend-passes.c
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-19 17:57:05 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-19 17:57:05 +0000
commit1e9c54334183b2eaf4dbc7b79bd82f854eb53e56 (patch)
tree3d684be762c51532c4a2cc210cbcbed31c0a6942 /gcc/fortran/frontend-passes.c
parentdfa3fb6ab6ee3a6ad8c96ab3ca796fb645cc6afd (diff)
downloadgcc-1e9c54334183b2eaf4dbc7b79bd82f854eb53e56.tar.gz
Use XDELETEVEC instead of free
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172729 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/frontend-passes.c')
-rw-r--r--gcc/fortran/frontend-passes.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/fortran/frontend-passes.c b/gcc/fortran/frontend-passes.c
index 9d1cc3aac14..d70435dc384 100644
--- a/gcc/fortran/frontend-passes.c
+++ b/gcc/fortran/frontend-passes.c
@@ -71,9 +71,7 @@ gfc_run_passes (gfc_namespace *ns)
if (gfc_option.dump_fortran_optimized)
gfc_dump_parse_tree (ns, stdout);
- /* FIXME: The following should be XDELETEVEC(expr_array);
- but we cannot do that because it depends on free. */
- free (expr_array);
+ XDELETEVEC (expr_array);
}
}