Thread overview
[Issue 22016] [REG2.067] Wrong code with enum comparison in void ternary with side effects
Jun 14, 2021
RazvanN
Jun 16, 2021
Ketmar Dark
Jun 18, 2021
Dlang Bot
Jul 06, 2021
RazvanN
Dec 23, 2022
Walter Bright
June 14, 2021
https://issues.dlang.org/show_bug.cgi?id=22016

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com
           Severity|major                       |regression

--
June 16, 2021
https://issues.dlang.org/show_bug.cgi?id=22016

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar@ketmar.no-ip.org

--
June 18, 2021
https://issues.dlang.org/show_bug.cgi?id=22016

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/dmd pull request #12705 "Fix Issue 22016 - [REG2.067] Wrong code with enum comparison in void ternary with side effects" fixing this issue:

- Fix Issue 22016 - [REG2.067] Wrong code with enum comparison in void ternary with side effects

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

--
July 06, 2021
https://issues.dlang.org/show_bug.cgi?id=22016

RazvanN <razvan.nitu1305@gmail.com> changed:

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

--
December 23, 2022
https://issues.dlang.org/show_bug.cgi?id=22016

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|---                         |WORKSFORME

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
This compiles and runs without error on master, with and without -O.

--