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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr23386.c] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
 
4
int f[100];
5
int g[100];
6
unsigned char
7
f1 (int a, int b)
8
{
9
  __SIZE_TYPE__ ix;
10
  if (a)
11
    return 1;
12
  for (ix = 4; ix--;)
13
      if (f[ix] != g[ix])
14
          return 0;
15
  return 1;
16
}
17
 
18
int main(void)
19
{
20
  if (!f1 (0, 2))
21
    __builtin_abort();
22
  return 0;
23
}
24
 

powered by: WebSVN 2.1.0

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