Thread overview
[Issue 16317] Wrong binop evaluation/load order when optimizing
Jul 02, 2017
Vladimir Panteleev
Mar 23, 2018
Walter Bright
Mar 25, 2018
Walter Bright
Aug 29, 2020
Walter Bright
Sep 04, 2020
Walter Bright
Sep 04, 2020
Dlang Bot
Sep 06, 2020
Dlang Bot
July 02, 2017
https://issues.dlang.org/show_bug.cgi?id=16317

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |dlang-bugzilla@thecybershad
                   |                            |ow.net
           Severity|major                       |critical

--
March 23, 2018
https://issues.dlang.org/show_bug.cgi?id=16317

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry
                 CC|                            |bugzilla@digitalmars.com

--
March 25, 2018
https://issues.dlang.org/show_bug.cgi?id=16317

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/dlang/dmd/pull/8076

--
August 29, 2020
https://issues.dlang.org/show_bug.cgi?id=16317

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |backend

--
September 04, 2020
https://issues.dlang.org/show_bug.cgi?id=16317

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
(In reply to kinke from comment #0)
> This can be caused by optimizing `val = val <op> ...` to `val <op>= ...`

That is indeed what is happening, in cgelem.d eleq().

--
September 04, 2020
https://issues.dlang.org/show_bug.cgi?id=16317

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #11684 "fix Issue 16317 - Wrong binop evaluation/load order when optimizing" fixing this issue:

- fix Issue 16317 - Wrong binop evaluation/load order when optimizing

https://github.com/dlang/dmd/pull/11684

--
September 06, 2020
https://issues.dlang.org/show_bug.cgi?id=16317

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11684 "fix Issue 16317 - Wrong binop evaluation/load order when optimizing" was merged into master:

- 9c69ec9731f7473e2302ef687a35b38a53676f39 by Walter Bright:
  fix Issue 16317 - Wrong binop evaluation/load order when optimizing

https://github.com/dlang/dmd/pull/11684

--