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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr25514.c] - Blame information for rev 856

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

Line No. Rev Author Line
1 149 jeremybenn
struct node {
2
  struct node *next;
3
  int value;
4
};
5
 
6
struct node *current_node, global_list;
7
 
8
void
9
bar (void)
10
{
11
  struct node *node, *next;
12
 
13
  node = current_node;
14
  next = node->next;
15
  if (node != &global_list)
16
    current_node = next;
17
  else
18
    {
19
      node = global_list.next;
20
      global_list.value = node->value;
21
      global_list.next = node->next;
22
    }
23
  foo (node);
24
}

powered by: WebSVN 2.1.0

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