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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr31605.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 688 jeremybenn
void put_field (unsigned int start, unsigned int len)
2
{
3
  int cur_bitshift = ((start + len) % 8) - 8;
4
  if (cur_bitshift > -8)
5
    exit (0);
6
}
7
 
8
int
9
main ()
10
{
11
  put_field (0, 1);
12
  abort ();
13
}

powered by: WebSVN 2.1.0

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