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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR tree-optimization/47427 */
2
 
3
char *g, *h;
4
 
5
int
6
bar (unsigned char x, const int y)
7
{
8
lab:
9
  for (; h; g = h)
10
    for (g = 0; h; h++)
11
      {
12
        int a = 1;
13
        if (h)
14
          {
15
            if (a)
16
              goto lab;
17
            return y;
18
          }
19
      }
20
  return x;
21
}
22
 
23
void
24
foo (void)
25
{
26
  if (bar (0, 1))
27
    bar (1, 0);
28
}

powered by: WebSVN 2.1.0

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