Thread overview
[Issue 4020] New: [ICE][CTFE] struct postblit in CTFE
Apr 01, 2010
Walter Bright
Apr 09, 2010
Don
March 28, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4020

           Summary: [ICE][CTFE] struct postblit in CTFE
           Product: D
           Version: future
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@eml.cc 2010-03-28 06:32:30 PDT ---
This code crashes the dmd V.2.042:


struct Foo {
    int x;
    this(this) { x++; }
}
int bar() {
    Foo f;
    f = f;
    assert(f.x == 1);
    return 0;
}
enum _ = bar();
void main() {}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 01, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4020


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2010-04-01 13:54:20 PDT ---
changeset 429

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 09, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4020


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from Don <clugdbug@yahoo.com.au> 2010-04-09 13:36:48 PDT ---
Fixed DMD 2.043.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------