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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fnon-call-exceptions -ftrapv -fexceptions" } */
3
int
4
DrawChunk(int *tabSize, int x)
5
{
6
  const int numEnds = 10;
7
  int ends[numEnds + 2];
8
  if (*tabSize > 0) {
9
      x -= 5;
10
      x = (x + *tabSize) / *tabSize;
11
  }
12
}
13
 

powered by: WebSVN 2.1.0

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