URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [iftrap-3.c] - Rev 12
Compare with Previous | Blame | View Log
/* Check that the conditional_trap pattern handles floating-point comparisons correctly. */ void f1 (float x, float y) { if (x == y) __builtin_trap (); } void f2 (double x, double y) { if (x == y) __builtin_trap (); }