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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [jumptab.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
jumptab (a)
2
{
3
  int b;
4
  switch (a)
5
    {
6
    case 0:
7
      b = 6;break;
8
    case 1:
9
      b = 5;break;
10
    case 2:
11
      b = 4;break;
12
    case 3:
13
      b = 3;break;
14
    case 4:
15
      b = 2;break;
16
    case 5:
17
      b = 1;break;
18
    }
19
  return b;
20
}

powered by: WebSVN 2.1.0

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