Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
August 26, 2008 [Issue 2315] New: DMD crash on unwanted ctfe recursion | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2315 Summary: DMD crash on unwanted ctfe recursion Product: D Version: 1.034 Platform: PC OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: benoit@tionex.de Object[] ARR_; Object[] ARR(){ if( ARR is null ) // type forgotten underscore ARR_ = [ new Object() ]; return ARR_; } const Object O1 = ARR[1]; // invalid code // results on linux in segmentation fault -- |
August 27, 2008 [Issue 2315] DMD crash on unwanted ctfe recursion | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2315 ------- Comment #1 from bugzilla@digitalmars.com 2008-08-27 00:01 ------- If I put a limit on recursion in CTFE, then someone will file a bug report on the limit. I also don't know why this is marked as critical, as removing the bug in the code will allow it to work. -- |
August 27, 2008 [Issue 2315] DMD crash on unwanted ctfe recursion | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2315 ------- Comment #2 from benoit@tionex.de 2008-08-27 03:45 ------- I marked it as critical because of the crash. A solution can be a message in -v mode -- |
November 24, 2008 [Issue 2315] DMD crash on unwanted ctfe recursion | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2315 smjg@iname.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg@iname.com ------- Comment #3 from smjg@iname.com 2008-11-24 09:57 ------- This is in the same area as issue 1071 and possibly others, and could be dealt with in the same way (see the comments there). Done well, nobody should have any reason to file a counter-bug to this. -- |
September 30, 2011 [Issue 2315] DMD Stack Overflow on unwanted ctfe recursion | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2315 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2011-09-30 16:02:08 PDT --- https://github.com/D-Programming-Language/dmd/commit/fcdae7c8071584a7729333571fb86354b7db2b85 https://github.com/D-Programming-Language/dmd/commit/e001f94d281eac901825739060aff2718ea2ee18 -- 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