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/] [execute/] [20030323-1.c] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
/* PR opt/10116 */
2
/* Removed tablejump while label still in use; this is really a link test.  */
3
 
4
void *NSReturnAddress(int offset)
5
{
6
        switch (offset) {
7
        case 0:  return __builtin_return_address(0 + 1);
8
        case 1:  return __builtin_return_address(1 + 1);
9
        case 2:  return __builtin_return_address(2 + 1);
10
        case 3:  return __builtin_return_address(3 + 1);
11
        case 4:  return __builtin_return_address(4 + 1);
12
        case 5:  return __builtin_return_address(5 + 1);
13
        case 6:  return __builtin_return_address(6 + 1);
14
        case 7:  return __builtin_return_address(7 + 1);
15
        case 8:  return __builtin_return_address(8 + 1);
16
        case 9:  return __builtin_return_address(9 + 1);
17
        case 10: return __builtin_return_address(10 + 1);
18
        case 11: return __builtin_return_address(11 + 1);
19
        case 12: return __builtin_return_address(12 + 1);
20
        case 13: return __builtin_return_address(13 + 1);
21
        case 14: return __builtin_return_address(14 + 1);
22
        case 15: return __builtin_return_address(15 + 1);
23
        case 16: return __builtin_return_address(16 + 1);
24
        case 17: return __builtin_return_address(17 + 1);
25
        case 18: return __builtin_return_address(18 + 1);
26
        case 19: return __builtin_return_address(19 + 1);
27
        case 20: return __builtin_return_address(20 + 1);
28
        case 21: return __builtin_return_address(21 + 1);
29
        case 22: return __builtin_return_address(22 + 1);
30
        case 23: return __builtin_return_address(23 + 1);
31
        case 24: return __builtin_return_address(24 + 1);
32
        case 25: return __builtin_return_address(25 + 1);
33
        case 26: return __builtin_return_address(26 + 1);
34
        case 27: return __builtin_return_address(27 + 1);
35
        case 28: return __builtin_return_address(28 + 1);
36
        case 29: return __builtin_return_address(29 + 1);
37
        case 30: return __builtin_return_address(30 + 1);
38
        case 31: return __builtin_return_address(31 + 1);
39
        case 32: return __builtin_return_address(32 + 1);
40
        case 33: return __builtin_return_address(33 + 1);
41
        case 34: return __builtin_return_address(34 + 1);
42
        case 35: return __builtin_return_address(35 + 1);
43
        case 36: return __builtin_return_address(36 + 1);
44
        case 37: return __builtin_return_address(37 + 1);
45
        case 38: return __builtin_return_address(38 + 1);
46
        case 39: return __builtin_return_address(39 + 1);
47
        case 40: return __builtin_return_address(40 + 1);
48
        case 41: return __builtin_return_address(41 + 1);
49
        case 42: return __builtin_return_address(42 + 1);
50
        case 43: return __builtin_return_address(43 + 1);
51
        case 44: return __builtin_return_address(44 + 1);
52
        case 45: return __builtin_return_address(45 + 1);
53
        case 46: return __builtin_return_address(46 + 1);
54
        case 47: return __builtin_return_address(47 + 1);
55
        case 48: return __builtin_return_address(48 + 1);
56
        case 49: return __builtin_return_address(49 + 1);
57
        case 50: return __builtin_return_address(50 + 1);
58
        case 51: return __builtin_return_address(51 + 1);
59
        case 52: return __builtin_return_address(52 + 1);
60
        case 53: return __builtin_return_address(53 + 1);
61
        case 54: return __builtin_return_address(54 + 1);
62
        case 55: return __builtin_return_address(55 + 1);
63
        case 56: return __builtin_return_address(56 + 1);
64
        case 57: return __builtin_return_address(57 + 1);
65
        case 58: return __builtin_return_address(58 + 1);
66
        case 59: return __builtin_return_address(59 + 1);
67
        case 60: return __builtin_return_address(60 + 1);
68
        case 61: return __builtin_return_address(61 + 1);
69
        case 62: return __builtin_return_address(62 + 1);
70
        case 63: return __builtin_return_address(63 + 1);
71
        case 64: return __builtin_return_address(64 + 1);
72
        case 65: return __builtin_return_address(65 + 1);
73
        case 66: return __builtin_return_address(66 + 1);
74
        case 67: return __builtin_return_address(67 + 1);
75
        case 68: return __builtin_return_address(68 + 1);
76
        case 69: return __builtin_return_address(69 + 1);
77
        case 70: return __builtin_return_address(70 + 1);
78
        case 71: return __builtin_return_address(71 + 1);
79
        case 72: return __builtin_return_address(72 + 1);
80
        case 73: return __builtin_return_address(73 + 1);
81
        case 74: return __builtin_return_address(74 + 1);
82
        case 75: return __builtin_return_address(75 + 1);
83
        case 76: return __builtin_return_address(76 + 1);
84
        case 77: return __builtin_return_address(77 + 1);
85
        case 78: return __builtin_return_address(78 + 1);
86
        case 79: return __builtin_return_address(79 + 1);
87
        case 80: return __builtin_return_address(80 + 1);
88
        case 81: return __builtin_return_address(81 + 1);
89
        case 82: return __builtin_return_address(82 + 1);
90
        case 83: return __builtin_return_address(83 + 1);
91
        case 84: return __builtin_return_address(84 + 1);
92
        case 85: return __builtin_return_address(85 + 1);
93
        case 86: return __builtin_return_address(86 + 1);
94
        case 87: return __builtin_return_address(87 + 1);
95
        case 88: return __builtin_return_address(88 + 1);
96
        case 89: return __builtin_return_address(89 + 1);
97
        case 90: return __builtin_return_address(90 + 1);
98
        case 91: return __builtin_return_address(91 + 1);
99
        case 92: return __builtin_return_address(92 + 1);
100
        case 93: return __builtin_return_address(93 + 1);
101
        case 94: return __builtin_return_address(94 + 1);
102
        case 95: return __builtin_return_address(95 + 1);
103
        case 96: return __builtin_return_address(96 + 1);
104
        case 97: return __builtin_return_address(97 + 1);
105
        case 98: return __builtin_return_address(98 + 1);
106
        case 99: return __builtin_return_address(99 + 1);
107
        }
108
        return 0;
109
}
110
 
111
int main()
112
{
113
  return 0;
114
}

powered by: WebSVN 2.1.0

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