[Issue 6229] New: %= and /= no longer work on char type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 29 22:21:05 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6229
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
AssignedTo: nobody at puremagic.com
ReportedBy: r.sagitario at gmx.de
--- Comment #0 from Rainer Schuetze <r.sagitario at gmx.de> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list