digitalmars.D.bugs - [Issue 9532] New: scope(exit) + alloca -> internal error
- d-bugmail puremagic.com (28/28) Feb 18 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9532
http://d.puremagic.com/issues/show_bug.cgi?id=9532 Summary: scope(exit) + alloca -> internal error Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: olli.pottonen paivola.fi 09:10:07 PST --- In some cases using scope(exit) and alloca() in the same function leads to DMD internal error. For example: import core.stdc.stdlib; void f(int) {} void main() { scope(exit) f(0); void* bar = alloca(1); f(0); } Trying to compile the code above fails with "Internal error: eh.c 60". I tried this on x86_64 with DMD v.2.061 on OS X and Linux with the same result. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2013