This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] patch for unlink on open files


Andrew already pointed out that alloca uses the stack, so
memory is reaped at function exit.  I can use gfc_getmem
and gfc_free if you think we should be using the heap.

No, no, with Andrew's comments, alloca() seems just fine!


FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]