URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [unordered-2.c] - Rev 327
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