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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr49145.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
static int
2
func1 (int a, int b)
3
{
4
  return b ? a : a / b;
5
}
6
 
7
static unsigned char
8
func2 (unsigned char a, int b)
9
{
10
  return b ? a : b;
11
}
12
 
13
int i;
14
 
15
void
16
func3 (const int arg)
17
{
18
  for (i = 0; i != 10; i = foo ())
19
    {
20
      if (!arg)
21
        {
22
          int j;
23
          for (j = 0; j < 5; j += 1)
24
            {
25
              int *ptr;
26
              *ptr = func2 (func1 (arg, *ptr), foo (arg));
27
            }
28
        }
29
    }
30
}

powered by: WebSVN 2.1.0

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