Thread overview
[Issue 20089] FPU stack not cleaned up properly
Jul 27, 2019
Rainer Schuetze
Jul 29, 2019
Ketmar Dark
Jul 31, 2019
Dlang Bot
Aug 21, 2019
Dlang Bot
July 27, 2019
https://issues.dlang.org/show_bug.cgi?id=20089

--- Comment #1 from Rainer Schuetze <r.sagitario@gmx.de> ---
The problem rather seems to be fun:

_D9test187723funFqZf:
  0000000000000000: 55                 push        rbp
  0000000000000001: 48 8B EC           mov         rbp,rsp
  0000000000000004: 66 0F 6E C1        movd        xmm0,ecx
  0000000000000008: 5D                 pop         rbp
  0000000000000009: C3                 ret

the cfloat is passed in FPU registers to fun, but the function reads ECX.

--
July 29, 2019
https://issues.dlang.org/show_bug.cgi?id=20089

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar@ketmar.no-ip.org

--
July 31, 2019
https://issues.dlang.org/show_bug.cgi?id=20089

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@marler8997 updated dlang/dmd pull request #10247 "Handle extra case in fixresult_complex87" fixing this issue:

- Fix issue 20089: Handle extra case in fixresult_complex87

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

--
August 21, 2019
https://issues.dlang.org/show_bug.cgi?id=20089

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10247 "Fix issue 20089: Handle extra case in fixresult_complex87" was merged into master:

- 3e2c68b3b27f0016712920af7d2d44f2192fa265 by Jonathan Marler:
  Fix issue 20089: Handle extra case in fixresult_complex87

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

--