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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr21532.c] - Blame information for rev 868

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

Line No. Rev Author Line
1 149 jeremybenn
 
2
 
3
int
4
bar (unsigned char key)
5
{
6
  unsigned char buf[sizeof (unsigned long)+2];
7
  unsigned char b;
8
  unsigned char *buf_ = buf + 1;
9
 
10
  for (b = 8; b != 0; b--)
11
    buf_[b] = key >> b;
12
 
13
  return foo (b);
14
}

powered by: WebSVN 2.1.0

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