[Issue 3822] Memory allocated with alloca() is freed at end of scope instead at end of function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 26 14:40:52 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3822
nfxjfg at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
--- Comment #5 from nfxjfg at gmail.com 2010-06-26 14:40:47 PDT ---
There's D code in druntime that assumes memory allocated by alloca() is valid
until the end of the function:
http://dsource.org/projects/druntime/browser/trunk/src/rt/adi.d#L242
Maybe the codegen for alloca() within loops is broken, or something.
--
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