Summary: %= and /= no longer work on char type
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Rainer Schuetze <> 2011-06-29 22:16:09 
PDT ---
The latest dmd from git asserts when compiling this snippet:

int main(string[] argv)
    char a = 2;
    char b = 4;
    b /= a;
    return b;

Internal error: backend\cod4.c 1289

while dmd 2.053 succeeds.

Same for %=. With wchar, the assert is one line later, dchar works.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to