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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 14 10:34:09 UTC 2021


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

--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13421 "merge stable" was merged into master:

- 5963faf30fadd73f3ad56b5655a083962e85a80d by Boris Carvajal:
  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/13421

--


More information about the Digitalmars-d-bugs mailing list