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/] [20020418-2.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* PR optimization/6010 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -funroll-all-loops" } */
4
/* { dg-options "-O2 -funroll-all-loops -march=pentium3" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
5
 
6
void bar (float);
7
 
8
void foo (float y, unsigned long z)
9
{
10
  int b;
11
  float c = y;
12
 
13
  for (b = 0; b < z; b++)
14
    {
15
      bar (c);
16
      if (c == y)
17
        c = -y;
18
      else
19
        c = y;
20
    }
21
}

powered by: WebSVN 2.1.0

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