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

stephan.kramer at imperial dot ac.uk gcc-bugzilla@gcc.gnu.org
Fri May 18 17:37:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389

--- Comment #2 from Stephan Kramer <stephan.kramer at imperial dot ac.uk> 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.



More information about the Gcc-bugs mailing list