URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [excess-precision-4.c] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
/* Excess precision tests. Test diagnostics for excess precision of constants. */ /* { dg-do compile } */ /* { dg-options "-mfpmath=387 -fexcess-precision=standard" } */ float f = 0.0f * 1e50f; /* { dg-warning "floating constant exceeds range of 'float'" } */ double d = 0.0 * 1e400; /* { dg-warning "floating constant exceeds range of 'double'" } */
Go to most recent revision | Compare with Previous | Blame | View Log