|--- |FIXED
--- Comment #4 from Dlang Bot ---
dlang/dmd pull request #11701 "fix Issue 19384 - [Codegen] Address of stack
temporary is returned" was merged into master:
- d8d294f38676f98bedef7d069746532e6f6c2c64 by Walter Bright:
fix Issue 19384 - [Codegen] Address of stack
---
@WalterBright created dlang/dmd pull request #11701 "fix Issue 19384 -
[Codegen] Address of stack temporary is returned" fixing this issue:
- fix Issue 19384 - [Codegen] Address of stack temporary is returned
https://github.com/dlang/dmd/pull/11701
--
https://issues.dlang.org/show_bug.cgi?id=19384
--- Comment #2 from Walter Bright ---
Replace the `ref uint` return with a `uint*` pointer and it works. So, the
problem must be in the logic that treats a pointer return, but not a ref
return.
--
https://issues.dlang.org/show_bug.cgi?id=19384
Walter Bright changed:
What|Removed |Added
Hardware|x86_64 |All
--- Comment #1 from Walter Bright ---
https://issues.dlang.org/show_bug.cgi?id=19384
Walter Bright changed:
What|Removed |Added
Keywords||backend
CC|
https://issues.dlang.org/show_bug.cgi?id=19384
ag0aep6g changed:
What|Removed |Added
Keywords||wrong-code
CC|
https://issues.dlang.org/show_bug.cgi?id=19384
Mr. Smith changed:
What|Removed |Added
Summary|Address of stack temporary |[Codegen] Address of stack