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] - Rev 688
Compare with Previous | Blame | View Log
typedef struct { int end; int term; } jpc_enc_pass_t; void foo(int numpasses, jpc_enc_pass_t *p) { jpc_enc_pass_t *pass; jpc_enc_pass_t *termpass; for (pass = p; pass != termpass; ++pass) if (!pass->term) { termpass = pass; while (termpass - pass < numpasses && !termpass->term) ++termpass; pass->end = termpass->end; } }