digitalmars.D.bugs - [Issue 2315] New: DMD crash on unwanted ctfe recursion
- d-bugmail puremagic.com (21/21) Aug 26 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2315
- d-bugmail puremagic.com (7/7) Aug 26 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2315
- d-bugmail puremagic.com (5/5) Aug 27 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2315
- d-bugmail puremagic.com (10/10) Nov 24 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2315
- d-bugmail puremagic.com (12/12) Sep 30 2011 http://d.puremagic.com/issues/show_bug.cgi?id=2315
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 --
Aug 26 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2315 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. --
Aug 26 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2315 I marked it as critical because of the crash. A solution can be a message in -v mode --
Aug 27 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2315 smjg iname.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg iname.com 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. --
Nov 24 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2315 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED 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: -------
Sep 30 2011