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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr52139.c] - Blame information for rev 706

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR rtl-optimization/52139 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -fno-tree-dominator-opts -fno-tree-fre" } */
4
/* { dg-additional-options "-fpic" { target fpic } } */
5
 
6
void *p;
7
 
8
void
9
foo (int a)
10
{
11
  switch (a)
12
    {
13
    case 0:
14
    a0:
15
    case 1:
16
    a1:
17
      p = &&a1;
18
    case 2:
19
    a2:
20
      p = &&a2;
21
    case 3:
22
    a3:
23
      p = &&a3;
24
    case 4:
25
    a4:
26
      p = &&a4;
27
    case 5:
28
    a5:
29
      p = &&a5;
30
    case 6:
31
    a6:
32
      p = &&a6;
33
    case 7:
34
    a7:
35
      p = &&a7;
36
    case 8:
37
    a8:
38
      p = &&a8;
39
    case 9:
40
    a9:
41
      p = &&a9;
42
    case 10:
43
    a10:
44
      p = &&a10;
45
    default:
46
      p = &&a0;
47
    }
48
  goto *p;
49
}

powered by: WebSVN 2.1.0

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