digitalmars.D.bugs - [Issue 20349] New: [REG2.087] ICE with sqrt
- d-bugmail puremagic.com (25/25) Nov 03 2019 https://issues.dlang.org/show_bug.cgi?id=20349
https://issues.dlang.org/show_bug.cgi?id=20349 Issue ID: 20349 Summary: [REG2.087] ICE with sqrt Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Keywords: ice Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: dlang-bugzilla thecybershadow.net ////////// test.d ////////// import core.math : sqrt; double f(double a, int b) { return sqrt(-a / b) / b; } //////////////////////////// 2.087.0 and newer throw a "illegal hardware instruction", or, in debug dmd builds, "dmd/backend/cgcod.d:2626: Assertion `0' failed." Introduced in https://github.com/dlang/dmd/pull/9905 --
Nov 03 2019