[Issue 22277] removing strongly pure function calls is an incorrect optimization

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 15 00:01:23 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22277

Luís Ferreira <lsferreira169 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lsferreira169 at gmail.com

--- Comment #6 from Luís Ferreira <lsferreira169 at gmail.com> ---
Fake pure functions are a special case here, but I agree that functions that
halt the program with `assert(0)` is an issue here.

--


More information about the Digitalmars-d-bugs mailing list