OpenCores
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.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr14649-1.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* PR c/14649 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
 
5
double atan(double);
6
 
7
const double pi = 4*atan(1.0);  /* { dg-warning "(not constant)|(near initialization)" } */
8
 
9
const double ok = 4*__builtin_atan(1.0);
10
 
11
double foo()
12
{
13
  double ok2 = 4*atan(1.0);
14
  return ok2;
15
}
16
 

powered by: WebSVN 2.1.0

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