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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR debug/48768 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -fcompare-debug" } */
4
 
5
int a, b;
6
 
7
int
8
bar (void)
9
{
10
  int i, j = 1;
11
  for (i = 0; i != 10; i++)
12
    {
13
    lab:
14
      if (i)
15
        {
16
          int *k = &j;
17
        }
18
      else if (j)
19
        goto lab;
20
    }
21
  return 1;
22
}
23
 
24
inline int
25
foo (int x)
26
{
27
  unsigned int c = x;
28
  int d = x;
29
  if (bar ())
30
    for (; c; c++)
31
      while (x >= 0)
32
        if (foo (d) >= 0)
33
          {
34
            d = bar ();
35
            a = b ? b : 1;
36
          }
37
  return 0;
38
}

powered by: WebSVN 2.1.0

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