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] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

/* { dg-do compile } */
 
static inline void
unext(unsigned int *_ui, unsigned _len, unsigned int _ui0)
{
    unsigned j = 1;
    while (++j<_len)
      ;
    _ui[j-1]=_ui0;
}
unsigned int
ncwrs_urow(unsigned _n, unsigned _k, unsigned int *_u)
{
  unsigned k;
  for(k=2; k<_n; k++)
    unext(_u+1,_k+1,1);
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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