OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [fltconst-double-pedantic-1.c] - Blame information for rev 437

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-std=c99 -pedantic" } */
3
 
4
double a = 1.d;         /* { dg-warning "double constant" } */
5
double b = 1.D;         /* { dg-warning "double constant" } */
6
double c = 1.1e+2d;     /* { dg-warning "double constant" } */
7
 
8
double d = 1.di;        /* { dg-warning "imaginary constants" } */
9
double e = 1.dj;        /* { dg-warning "imaginary constants" } */
10
double f = 1.id;        /* { dg-warning "imaginary constants" } */
11
double g = 1.jd;        /* { dg-warning "imaginary constants" } */
12
 
13
double h = 0x1.5p1d;    /* { dg-warning "double constant" } */

powered by: WebSVN 2.1.0

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