OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr40321.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
struct X { int flag; int pos; };
2
int foo(struct X *a, struct X *b)
3
{
4
  while (1)
5
    {
6
      if (a->flag)
7
        break;
8
      ({ struct X *tmp = a; a = b; b = tmp; });
9
    }
10
 
11
  return a->pos + b->pos;
12
}

powered by: WebSVN 2.1.0

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