[Bug fortran/30723] Freeing memory doesn't need to call a library function

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 4 21:02:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list