[Issue 13819] ICE: backend\cg87.c 1495 with mixin, delegate and -O

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 2 16:59:15 PDT 2017


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

Ivan Kazmenko <gassa at mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, ice-on-valid-code

--- Comment #3 from Ivan Kazmenko <gassa at mail.ru> ---
Actually, this compiles fine:

-----good1.d-----
int f (double a)
{
    a = a % 2;
    return a != 0;
}
-----

And this triggers an error:

-----bad1.d-----
int f (double a)
{
    return a % 2 != 0;
}
-----

--


More information about the Digitalmars-d-bugs mailing list