[Issue 16579] ReturnStatement[CallExp(DotVarExp)]: Corrupted runtime on missed manifest constant propagation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 12 03:24:57 UTC 2021


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

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

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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
@BorisCarvajal created dlang/dmd pull request #13290 "Fix Issue 16579 -
Corrupted runtime on missed manifest constant propagation" fixing this issue:

- Fix Issue 16579 - ReturnStatement[CallExp(DotVarExp)]: Corrupted runtime on
missed manifest constant propagation

  A void returning statement 'return exp;' is rewritten to 'exp; return;'
  but in that case an optimize() call was missing, which was just a little
above.

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

--


More information about the Digitalmars-d-bugs mailing list