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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 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.