loop.c (loop_optimize): Free all loops_info's mems.
2004-01-02 Andrew Pinski <pinskia@physics.uc.edu> * loop.c (loop_optimize): Free all loops_info's mems. From-SVN: r75339
This commit is contained in:
parent
2f89bbc185
commit
9d85830f7e
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* loop.c (loop_optimize): Free all loops_info's mems.
|
||||
|
||||
* c-typeck.c (finish_init): Free spelling_base before
|
||||
setting it again.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Perform various loop optimizations, including strength reduction.
|
||||
Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||
1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GCC.
|
||||
|
||||
|
@ -540,6 +540,9 @@ loop_optimize (rtx f, FILE *dumpfile, int flags)
|
|||
end_alias_analysis ();
|
||||
|
||||
/* Clean up. */
|
||||
for (i = 0; i < (int) loops->num; i++)
|
||||
free (loops_info[i].mems);
|
||||
|
||||
free (uid_luid);
|
||||
free (uid_loop);
|
||||
free (loops_info);
|
||||
|
|
Loading…
Add table
Reference in a new issue