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

Subversion Repositories openrisc_me

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
typedef struct
2
{
3
  int end;
4
  int term;
5
}
6
jpc_enc_pass_t;
7
void foo(int numpasses, jpc_enc_pass_t *p)
8
{
9
  jpc_enc_pass_t *pass;
10
  jpc_enc_pass_t *termpass;
11
  for (pass = p; pass != termpass; ++pass)
12
    if (!pass->term)
13
    {
14
      termpass = pass;
15
      while (termpass - pass < numpasses && !termpass->term)
16
        ++termpass;
17
      pass->end = termpass->end;
18
    }
19
}

powered by: WebSVN 2.1.0

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