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

2007-05-14 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-05-14 20:34 --- Fixed on mainline. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

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

2007-05-14 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-05-14 20:34 --- Subject: Bug 30723 Author: fxcoudert Date: Mon May 14 19:33:57 2007 New Revision: 124721 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124721 Log: PR fortran/30723 * trans.h (gfor_fndecl_

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

2007-03-04 Thread rguenth 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: W

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

2007-03-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-03-04 20:12 --- Created an attachment (id=13141) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13141&action=view) Patch removing need for internal_malloc and internal_free library functions Attached patch updates the previ

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

2007-02-07 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-02-07 19:22 --- Created an attachment (id=13020) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13020&action=view) Patch to not generate calls to internal_free any more -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=307

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

2007-02-07 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-02-07 09:58 --- Confirmed. Note we already NULLify the pointer in the caller for _gfortran_deallocate (but I missed to fix the comment before that function as well). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30723

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

2007-02-06 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last recon