digitalmars.D.bugs - [Issue 10575] New: struct and alloca cause internal error
- d-bugmail puremagic.com (22/22) Jul 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10575
- d-bugmail puremagic.com (28/28) Aug 20 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10575
- d-bugmail puremagic.com (11/11) Aug 28 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10575
http://d.puremagic.com/issues/show_bug.cgi?id=10575 Summary: struct and alloca cause internal error Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: maximechevalierb gmail.com 2013-07-08 11:54:40 PDT --- Created an attachment (id=1231) failing test case Using alloca in a function with a struct that has a destructor seems to cause an internal compiler error in DMD. The following error message results: Internal error: eh.c 54 A failing test case is attached. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10575 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice CC| |yebblies gmail.com For small test cases, please paste inline instead of attaching. import core.stdc.stdlib; struct TheStruct { ~this() { } } void bar() { } void main() { auto s = TheStruct(); bar(); auto a = alloca(16); } I can't reproduce on win32, but that is not a surprise as eh.c is posix-only. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 20 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10575 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE *** This issue has been marked as a duplicate of issue 3753 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 28 2013