This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30723] Freeing memory doesn't need to call a library function
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2007 21:01:58 -0000
- Subject: [Bug fortran/30723] Freeing memory doesn't need to call a library function
- References: <bug-30723-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from rguenth at gcc dot gnu dot org 2007-03-04 21:01 -------
Note that we currently do not optimize
tmp = malloc (XXX);
free (tmp);
That would require some special handling in DCE (or a completely separate
pass).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30723