[Issue 21474] ICE with core.simd and -O ("Illegal Instruction")

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 16 01:15:43 UTC 2020


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

--- Comment #1 from ponce <aliloko at gmail.com> ---
Found this bug another time in another incarnation.

Build with dmd -O for reproducing.


--------- test4.d -------------

import core.simd;  

int4 cmpss_repro(float4 a)
{
    int4 result;
    result.ptr[0] = (1 > a.array[0]) ? -1 : 0;
    return result;
}

-------------------------------

--


More information about the Digitalmars-d-bugs mailing list