[Issue 20143] ICE in optimizer on real 0/0 returned as double
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 20 14:18:23 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20143
FeepingCreature <default_357-line at yahoo.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |default_357-line at yahoo.de
--- Comment #3 from FeepingCreature <default_357-line at yahoo.de> ---
This is one for Walter.
The proximate cause is that in elem.d, the "0" on the left side of 0 / fun(0)
is converted from a long double constant to a double constant sight unseen.
(elem.d: shrinkLongDoubleConstantIfPossible) This leaves the operation post
inlining standing as "double / long double", which is not a valid operation.
--
More information about the Digitalmars-d-bugs
mailing list