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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr50333.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
static inline void
4
unext(unsigned int *_ui, unsigned _len, unsigned int _ui0)
5
{
6
    unsigned j = 1;
7
    while (++j<_len)
8
      ;
9
    _ui[j-1]=_ui0;
10
}
11
unsigned int
12
ncwrs_urow(unsigned _n, unsigned _k, unsigned int *_u)
13
{
14
  unsigned k;
15
  for(k=2; k<_n; k++)
16
    unext(_u+1,_k+1,1);
17
}

powered by: WebSVN 2.1.0

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