[Issue 9189] New: (D1 only) ICE on simple valid code since dmd 1.074

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 20 00:22:17 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=9189

           Summary: (D1 only) ICE on simple valid code since dmd 1.074
           Product: D
           Version: D1
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: verylonglogin.reg at gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-12-20 11:22:16 MSK ---
This code used to compile but resultes in ICE since dmd 1.074:
---
struct S1 {
    enum E { x }

    E e;
    const S1 s1 = S1(E.x);

    void f() {
        if(*this == s1) { }
    }
}

struct S2 {
    S1 s = S1.s1;
}
---

dmd 1.075 compiler output:
---
Assertion failure: '0' on line 1081 in file 'glue.c'
---

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


More information about the Digitalmars-d-bugs mailing list