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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr32573.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR tree-optimization/32573 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3" } */
4
 
5
int
6
foo (void *x, long long *y)
7
{
8
  char a[256];
9
  int i = 0;
10
  long long b;
11
  int c;
12
  int d = 0;
13
  int e = 0;
14
  unsigned f = 0;
15
  b = bar (x);
16
  c = (unsigned) b;
17
  while (d < b && d < 65557)
18
    {
19
      f = *(unsigned *) &a[0];
20
      for (i = c - 4; i > 0; i--)
21
        if (a[i + 0] == 0x50
22
            && a[i + 1] == 0x4B
23
            && a[i + 3] == 0x06)
24
          {
25
            e = 1;
26
            break;
27
          }
28
    }
29
  return !e;
30
}

powered by: WebSVN 2.1.0

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