http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38318
--- Comment #7 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Joost VandeVondele from comment #6) > Marc, I think your recently posted patch: > http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01049.html > could fix the problem with the testcase subroutine S1, even though 'moving > allocations out of loops' is more or less a side effect. I don't speak fortran fluently so I tried compiling S1 with an unpatched compiler and -O2 -fdump-tree-optimized, but I don't see any call to malloc in there. Could you explain, with references to a dump, what the internal functions mean and where my patch might help?