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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
 
3
struct S { int s; } a, *b, **c;
4
int d;
5
 
6
struct S
7
foo (void)
8
{
9
  struct S s = { 0 }, *e = &a;
10
  if (d)
11
    **c = *b;
12
  while (1)
13
    {
14
      *b = s;
15
      *e = *b;
16
      if (a.s)
17
        break;
18
    }
19
  return **c;
20
}

powered by: WebSVN 2.1.0

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