[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
Mon Jun 7 04:17:57 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3822
nfxjfg at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
CC| |nfxjfg at gmail.com
Summary|alloca() can return the |Memory allocated with
|same address inside a |alloca() is freed at end of
|function |scope instead at end of
| |function
--- Comment #4 from nfxjfg at gmail.com 2010-06-07 04:17:53 PDT ---
C code that compiles in D without modification should work exactly as it does
in C.
This means this is a rather bad code gen bug.
--
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