Thread overview
[Issue 13784] Wrong code with modulo operation and optimisations enabled
Nov 27, 2014
Dicebot
Nov 27, 2014
Don
Nov 27, 2014
Don
Nov 28, 2014
Dicebot
Dec 15, 2014
Walter Bright
Dec 15, 2014
Dicebot
November 27, 2014
https://issues.dlang.org/show_bug.cgi?id=13784

Dicebot <public@dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry

--
November 27, 2014
https://issues.dlang.org/show_bug.cgi?id=13784

Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code

--
November 27, 2014
https://issues.dlang.org/show_bug.cgi?id=13784

Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical

--
November 28, 2014
https://issues.dlang.org/show_bug.cgi?id=13784

--- Comment #1 from Dicebot <public@dicebot.lv> ---
Extra issue is that even with workaround it sometimes does broken optimisation at if both -O and -inline are present (at the call site for modulo24)

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

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/D-Programming-Language/dmd/pull/4214

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

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

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

--- 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/61dd9d1fac47855a2fb6c1c79cd54c49a47db306 fix Issue 13784 - Wrong code with modulo operation and optimisations enabled

https://github.com/D-Programming-Language/dmd/commit/1b8db262262352b00d027c93aee00b669b290931 Merge pull request #4214 from WalterBright/fix13784

fix Issue 13784 - Wrong code with modulo operation and optimisations ena...

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

Dicebot <public@dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|D1 & D2                     |D1
         Resolution|FIXED                       |---

--- Comment #4 from Dicebot <public@dicebot.lv> ---
Reopening as D1-only until fix is merged into dmd-1.x :P

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

--- Comment #5 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/012695720948b8633e054e63485ccb091b3847d5 fix Issue 13784 - Wrong code with modulo operation and optimisations enabled

--
February 18, 2015
https://issues.dlang.org/show_bug.cgi?id=13784

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

https://github.com/D-Programming-Language/dmd/commit/61dd9d1fac47855a2fb6c1c79cd54c49a47db306 fix Issue 13784 - Wrong code with modulo operation and optimisations enabled

https://github.com/D-Programming-Language/dmd/commit/1b8db262262352b00d027c93aee00b669b290931 Merge pull request #4214 from WalterBright/fix13784

--