OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr42078.c] - Blame information for rev 696

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/42078 */
2
/* { dg-do compile } */
3
/* { dg-options "-g -O -ffast-math" } */
4
 
5
double sqrt (double x);
6
 
7
float
8
foo (float x)
9
{
10
  float y = sqrt (x);
11
  return x / y;
12
}
13
 
14
inline float
15
bar (float x)
16
{
17
  float y = sqrt (x);
18
  float a = y;
19
  float b = y;
20
  float c = y;
21
  return x / y;
22
}

powered by: WebSVN 2.1.0

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