[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 19:12:11 UTC 2019


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

kinke <kinke at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke at gmx.net

--- Comment #9 from kinke <kinke at gmx.net> ---
(In reply to hsteoh from comment #0)
> Submitting this as critical because it's an ICE.

That's because you have a custom build of DMD with enabled assertions (thumbs
up for that). The generated code seems to be fine,
https://run.dlang.io/is/gO3wJh yields the expected result with DMD nightly.

--


More information about the Digitalmars-d-bugs mailing list