OpenCores
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.target/] [i386/] [excess-precision-4.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* Excess precision tests.  Test diagnostics for excess precision of
2
   constants.  */
3
/* { dg-do compile } */
4
/* { dg-options "-mfpmath=387 -fexcess-precision=standard" } */
5
 
6
float f = 0.0f * 1e50f; /* { dg-warning "floating constant exceeds range of 'float'" } */
7
double d = 0.0 * 1e400; /* { dg-warning "floating constant exceeds range of 'double'" } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.