[Issue 4792] New: Assertion in shift right operations.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 3 02:19:31 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4792
Summary: Assertion in shift right operations.
Product: D
Version: D1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: ibuclaw at ubuntu.com
--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-09-03 02:19:14 PDT ---
Both examples:
int main()
{
return cast(int)(.0>>0);
}
int main()
{
return cast(int)(.0>>>0);
}
result in an ICE in the compiler. Whereas
int main()
{
return cast(int)(.0<<0);
}
is handled perfectly fine.
As this is not supposed to be compilable, I assume that the error type isn't
being handled as it should be.
Regards
--
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