[Issue 20143] ICE in optimizer on real 0/0 returned as double
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 19 14:08:27 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20143
bachmeil at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bachmeil at yahoo.com
--- Comment #2 from bachmeil at yahoo.com ---
(In reply to Daniel Kozak from comment #1)
> needs to be compiled with enabled inlineing (-inline) and it is not
> important that return type of `bug` function is double it could be int, but
> if we change fun tu return double it works as expected
It actually has to be compiled with the combination -O -inline. Works fine if
compiling with either -O or -inline but not both.
--
More information about the Digitalmars-d-bugs
mailing list