[Issue 20278] ICE: calling std.math.sqrt with int cast to double

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 7 18:44:15 UTC 2019


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

--- Comment #2 from hsteoh at quickfur.ath.cx ---
dmd --version:
------
DMD64 D Compiler v2.088.0-247-gfafa982ae
Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
written by Walter Bright
------

Compile command: dmd test.d
Output:
------
dmd: /usr/src/d/dmd/src/dmd/backend/cgcod.d:2489: Assertion
`cast(int)(*e).Ecomsub <= cast(int)(*e).Ecount' failed.
Aborted
------

--


More information about the Digitalmars-d-bugs mailing list