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] [committed] fix another leak in tree-into-ssa.c


Patch says it all.

Committed as obvious.

ChangeLog:
2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-into-ssa.c (insert_phi_nodes_for): XFREE
        bitmaps allocated with BITMAP_XMALLOC.


Patch: Index: tree-into-ssa.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/tree-into-ssa.c,v retrieving revision 2.2 diff -u -p -r2.2 tree-into-ssa.c --- tree-into-ssa.c 13 May 2004 15:26:33 -0000 2.2 +++ tree-into-ssa.c 13 May 2004 22:05:13 -0000 @@ -694,7 +694,7 @@ insert_phi_nodes_for (tree var, bitmap * create_phi_node (var, BASIC_BLOCK (bb_index)); });

-  BITMAP_FREE (phi_insertion_points);
+  BITMAP_XFREE (phi_insertion_points);
 }

/* SSA Rewriting Step 2. Rewrite every variable used in each statement in


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