https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65766
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-04-15 CC| |jvdelisle at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- The problem is related to these lines: --- snip --- str%elems(1:) = charvar(1:) --- snip --- charvar(1:) = str%elems(1:) --- snip --- On my system with trunk I get: $ gfc 7.f90 f951: out of memory allocating 26154014304 bytes after a total of 569344 bytes I have ulimits set ... to infinity and beyond!