[Bug fortran/53389] [4.6/4.7/4.8 Regression] -frealloc-lhs: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function resul

2012-05-23 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug fortran/53389] [4.6/4.7/4.8 Regression] -frealloc-lhs: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function resul

2012-05-23 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 --- Comment #7 from Tobias Burnus 2012-05-23 19:13:34 UTC --- Author: burnus Date: Wed May 23 19:13:27 2012 New Revision: 187810 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187810 Log: 2012-05-23 Tobias Burnus PR fortran/53

[Bug fortran/53389] [4.6/4.7/4.8 Regression] -frealloc-lhs: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function resul

2012-05-23 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 --- Comment #6 from Tobias Burnus 2012-05-23 19:08:56 UTC --- Author: burnus Date: Wed May 23 19:08:52 2012 New Revision: 187808 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187808 Log: 2012-05-23 Tobias Burnus PR fortran/53

[Bug fortran/53389] [4.6/4.7/4.8 Regression] -frealloc-lhs: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function resul

2012-05-22 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 --- Comment #5 from Tobias Burnus 2012-05-22 10:10:55 UTC --- Author: burnus Date: Tue May 22 10:10:47 2012 New Revision: 187769 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187769 Log: 2012-05-22 Tobias Burnus PR fortran/53

[Bug fortran/53389] [4.6/4.7/4.8 Regression] -frealloc-lhs: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function resul

2012-05-21 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 --- Comment #4 from Tobias Burnus 2012-05-21 16:16:24 UTC --- If one duplicates "filler" and renames it to inner/outer with the call: x=outer(inner(y, real(2*i)), real(i)) one sees four calls to gfc_conv_procedure_call for: outer, inner, outer

[Bug fortran/53389] [4.6/4.7/4.8 Regression] -frealloc-lhs: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function resul

2012-05-18 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 --- Comment #3 from Tobias Burnus 2012-05-18 17:05:57 UTC --- (In reply to comment #0) > x=filler(filler(y, real(2*i)), real(i)) That line should call "filler" twice, however, it is called trice! There are two "atmps" - on the second is prop

[Bug fortran/53389] [4.6/4.7/4.8 Regression] -frealloc-lhs: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function resul

2012-05-18 Thread stephan.kramer at imperial dot ac.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 --- Comment #2 from Stephan Kramer 2012-05-18 15:27:54 UTC --- (In reply to comment #1) > Confirmed. > > Workaround is to use -fno-realloc-lhs Excellent. Thanks for the suggested workaround. That'll save us a lot of unnecessary refactoring.

[Bug fortran/53389] [4.6/4.7/4.8 Regression] -frealloc-lhs: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function resul

2012-05-18 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 Tobias Burnus changed: What|Removed |Added Keywords||wrong-code CC|