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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [id-pr48648.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "-O -fgraphite-identity" } */
2
 
3
void *foo(const void *a);
4
 
5
void bug48648()
6
{
7
  unsigned char a[2];
8
  long b;
9
  int i;
10
 
11
  for(i = 0; i < 2; i++) {
12
    if (b <= 0)
13
      a[i] = 0;
14
    else if (b >= 8)
15
      a[i] = 0;
16
    else
17
      a[i] = 0;
18
    b -= 8;
19
  }
20
  foo(&a);
21
}

powered by: WebSVN 2.1.0

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