[Issue 13023] optimizer produces wrong code for comparision and division of ulong
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jul 15 15:59:08 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13023
safety0ff.bugz <safety0ff.bugz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |safety0ff.bugz at gmail.com
--- Comment #1 from safety0ff.bugz <safety0ff.bugz at gmail.com> ---
This looks like another REX issue, dmd is comparing 4 bytes instead of 8
against zero. The lower 4 bytes of (1UL<<32)*2/2 are all zero.
--
More information about the Digitalmars-d-bugs
mailing list