[Bug target/92846] [ARC] gloating point compares not generating Invalid Operand

vgupta at synopsys dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 6 17:24:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92846

--- Comment #1 from Vineet Gupta <vgupta at synopsys dot com> ---
Test case:

int f(double x, double y)
{
        return x > y;                      // expected FDCMPF (qNaN, sNaN)
}

int f2(double x, double y)
{
        return __builtin_isgreater(x, y);  // expected FDCMP (only sNan)
}


More information about the Gcc-bugs mailing list