Thread overview
[Issue 19895] Floating point exception casting zero length array
May 23, 2019
Yuxuan Shui
May 23, 2019
Dlang Bot
May 24, 2019
Dlang Bot
May 23, 2019
https://issues.dlang.org/show_bug.cgi?id=19895

--- Comment #1 from Yuxuan Shui <yshuiv7@gmail.com> ---
Slightly reduced:

void fn() {
        void[] a ;
        auto b = cast(byte[0][]) a;
}

--
May 23, 2019
https://issues.dlang.org/show_bug.cgi?id=19895

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@kubo39 created dlang/dmd pull request #9856 "Fix Issue 19895 - Floating point exception casting zero length array" fixing this issue:

- Fix Issue 19895 - Floating point exception casting zero length array

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

--
May 24, 2019
https://issues.dlang.org/show_bug.cgi?id=19895

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 #9856 "Fix Issue 19895 - Floating point exception casting zero length array" was merged into stable:

- 25b6ff6487f3cdb8b984dee90ded33ef1b244bda by Hiroki Noda:
  Fix Issue 19895 - Floating point exception casting zero length array

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

--