December 30, 2011 [Issue 6951] dependency parameter (-deps) crashes dmd in release build | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Dilly | http://d.puremagic.com/issues/show_bug.cgi?id=6951 --- Comment #10 from Stephan Dilly <spam@extrawurst.org> 2011-12-30 04:30:43 PST --- ok smallest testcase so far: [CODE] module main; import std.stdio; struct BinaryHeap(T){ T[] m_data; public void insert(T _val){ m_data[$-1] = _val; if(m_data.length == 1) return; } public void opOpAssign(string s)(T _val){ if(s == "~") {insert(_val);} } public T front(){ assert(!isEmpty()); return m_data[0]; } public bool isEmpty() const{ return (m_data.length == 0); } } void main(string[] argv) { BinaryHeap!int foo; foo ~= 10; } [/CODE] dont forget to build with: dmd -inline -release -noboundscheck -deps=foo.dep main.d and just for kicks: while reducing the test case some unrelated changes made the crash become a choke up of "Out of Memory" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 03, 2012 [Issue 6951] dependency parameter (-deps) crashes dmd in release build | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Dilly | http://d.puremagic.com/issues/show_bug.cgi?id=6951 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug@yahoo.com.au --- Comment #11 from Don <clugdbug@yahoo.com.au> 2012-04-03 00:51:54 PDT --- Bug 7478 appears to be the same, and has a greatly reduced test case. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 16, 2012 [Issue 6951] dependency parameter (-deps) crashes dmd in release build | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Dilly | http://d.puremagic.com/issues/show_bug.cgi?id=6951 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #12 from Don <clugdbug@yahoo.com.au> 2012-05-15 21:39:08 PDT --- The test case works now. *** This issue has been marked as a duplicate of issue 7478 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation