[Issue 21325] Wrong code with -release -inline -O

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 18 15:29:44 UTC 2020


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
-release is irrelevant in the issue, replacing `return 1` with `assert(0)`
triggers with just -O -inline.

Regression was caused by this commit https://github.com/dlang/dmd/pull/11682

--


More information about the Digitalmars-d-bugs mailing list