This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, fortran] Committed trivial FIXME patch


Now that Jim Meyering has remove the macro that prevented directly
calling free(), and replaced gfc_free() with free(), we can fix this.
Committed as obvious.

Index: frontend-passes.c
===================================================================
--- frontend-passes.c   (revision 172727)
+++ frontend-passes.c   (working copy)
@@ -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);
     }
 }


-- 
Janne Blomqvist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]