[Issue 3822] alloca() can return the same address inside a function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 7 04:04:10 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3822



--- Comment #3 from bearophile_hugs at eml.cc 2010-06-07 04:04:04 PDT ---
Maybe the alloca() used by dmd frees memory as soon as the current scope is
left, instead of deferring all deallocation until function exit. See:
http://compilers.iecc.com/comparch/article/91-12-079

D documentation has to explain how exactly its alloca() works.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list