Thread overview
[Issue 13023] optimizer produces wrong code for comparision and division of ulong
Jul 15, 2014
safety0ff.bugz
Jul 24, 2014
yebblies
Jul 24, 2014
yebblies
July 15, 2014
https://issues.dlang.org/show_bug.cgi?id=13023

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |hsteoh@quickfur.ath.cx

--
July 15, 2014
https://issues.dlang.org/show_bug.cgi?id=13023

safety0ff.bugz <safety0ff.bugz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |safety0ff.bugz@gmail.com

--- Comment #1 from safety0ff.bugz <safety0ff.bugz@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.

--
July 24, 2014
https://issues.dlang.org/show_bug.cgi?id=13023

yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |yebblies@gmail.com
                 OS|Linux                       |All

--- Comment #2 from yebblies <yebblies@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/3809

--
July 24, 2014
https://issues.dlang.org/show_bug.cgi?id=13023

yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nobody@puremagic.com        |yebblies@gmail.com

--
July 24, 2014
https://issues.dlang.org/show_bug.cgi?id=13023

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1fced8b109eb74b03adc232ca6057c2235505049
Fix Issue 13023 - optimizer produces wrong code for comparision and division of
ulon

https://github.com/D-Programming-Language/dmd/commit/f79c6c576bae0a14edc4b4eb67134f753f7a7b8b Merge pull request #3809 from yebblies/issue13023

Issue 13023 - optimizer produces wrong code for comparision and division of ulong

--
July 24, 2014
https://issues.dlang.org/show_bug.cgi?id=13023

--- Comment #4 from github-bugzilla@puremagic.com ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1c85734dad8e5704105c37603a694bac34925095
Fix Issue 13023 - optimizer produces wrong code for comparision and division of
ulon

--
July 31, 2014
https://issues.dlang.org/show_bug.cgi?id=13023

--- Comment #5 from github-bugzilla@puremagic.com ---
Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/780325cc7b58ed22fdddbeac20cc6a0d957cb28c Merge pull request #3809 from yebblies/issue13023

Issue 13023 - optimizer produces wrong code for comparision and division of ulong

--
August 22, 2014
https://issues.dlang.org/show_bug.cgi?id=13023

--- Comment #6 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/780325cc7b58ed22fdddbeac20cc6a0d957cb28c Merge pull request #3809 from yebblies/issue13023

--