URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [unordered-2.c] - Rev 867
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do link } */ void link_error (); int main() { if (__builtin_isgreater(1.0,2.0) != 0) link_error (); if (__builtin_isgreater(3.0,3.0) != 0) link_error (); if (__builtin_isgreater(5.0,4.0) == 0) link_error (); if (__builtin_isgreaterequal(1.0,2.0) != 0) link_error (); if (__builtin_isgreaterequal(3.0,3.0) == 0) link_error (); if (__builtin_isgreaterequal(5.0,4.0) == 0) link_error (); if (__builtin_isless(1.0,2.0) == 0) link_error (); if (__builtin_isless(3.0,3.0) != 0) link_error (); if (__builtin_isless(5.0,4.0) != 0) link_error (); if (__builtin_islessequal(1.0,2.0) == 0) link_error (); if (__builtin_islessequal(3.0,3.0) == 0) link_error (); if (__builtin_islessequal(5.0,4.0) != 0) link_error (); if (__builtin_islessgreater(1.0,2.0) == 0) link_error (); if (__builtin_islessgreater(3.0,3.0) != 0) link_error (); if (__builtin_islessgreater(5.0,4.0) == 0) link_error (); if (__builtin_isunordered(1.0,2.0) != 0) link_error (); if (__builtin_isunordered(3.0,3.0) != 0) link_error (); if (__builtin_isunordered(5.0,4.0) != 0) link_error (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log