2011-04-19 Janne Blomqvist <jb@gcc.gnu.org>
+ * frontend-passes.c (gfc_run_passes): Use XDELETEVEC instead of
+ free.
+
+2011-04-19 Janne Blomqvist <jb@gcc.gnu.org>
+
* misc.c (gfc_getmem): Remove function.
* gfortran.h: Remove gfc_getmem prototype. Replace gfc_getmem
usage with XCNEW or XCNEWVEC.
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);
}
}