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/] [900313-1.c] - Blame information for rev 841

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

Line No. Rev Author Line
1 149 jeremybenn
main ()
2
{
3
  char *a;
4
  foo (alloca (10000));
5
  foo (alloca (100000));
6
  foo (alloca ((int) &main));
7
}
8
 
9
many_par (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
10
{
11
  char *x;
12
  int aa, ba, ca, da, ea, fa, ga, ha, ia, ja, ka, la, ma, na, oa, pa;
13
 
14
  aa = bar ();
15
  ba = bar ();
16
  ca = bar ();
17
  da = bar ();
18
  ea = bar ();
19
  fa = bar ();
20
  ga = bar ();
21
  ha = bar ();
22
  ia = bar ();
23
  ja = bar ();
24
  ka = bar ();
25
  la = bar ();
26
  ma = bar ();
27
  na = bar ();
28
  oa = bar ();
29
  pa = bar ();
30
  foobar (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, aa, ba, ca,
31
          da, ea, fa, ga, ha, ia, ja, ka, la, ma, na, oa, pa);
32
 
33
}
34
 
35
foobar (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, aa, ba, ca,
36
        da, ea, fa, ga, ha, ia, ja, ka, la, ma, na, oa, pa)
37
{
38
  int ab, bb, cb, db, eb, fb, gb, hb, ib, jb, kb, lb, mb, nb, ob, pb;
39
  int qb, rb, sb, tb, ub, vb, xb, yb;
40
 
41
  ab = bar ();
42
  bb = bar ();
43
  cb = bar ();
44
  db = bar ();
45
  eb = bar ();
46
  fb = bar ();
47
  gb = bar ();
48
  hb = bar ();
49
  ib = bar ();
50
  jb = bar ();
51
  kb = bar ();
52
  lb = bar ();
53
  mb = bar ();
54
  nb = bar ();
55
  ob = bar ();
56
  pb = bar ();
57
  qb = bar ();
58
  rb = bar ();
59
  sb = bar ();
60
  tb = bar ();
61
  ub = bar ();
62
  vb = bar ();
63
  xb = bar ();
64
  yb = bar ();
65
 
66
  boofar (a);
67
  boofar (b);
68
  boofar (c);
69
  boofar (d);
70
  boofar (e);
71
  boofar (f);
72
  boofar (g);
73
  boofar (h);
74
  boofar (i);
75
  boofar (j);
76
  boofar (k);
77
  boofar (l);
78
  boofar (m);
79
  boofar (n);
80
  boofar (o);
81
  boofar (p);
82
  boofar (aa);
83
  boofar (ba);
84
  boofar (ca);
85
  boofar (da);
86
  boofar (ea);
87
  boofar (fa);
88
  boofar (ga);
89
  boofar (ha);
90
  boofar (ia);
91
  boofar (ja);
92
  boofar (ka);
93
  boofar (la);
94
  boofar (ma);
95
  boofar (na);
96
  boofar (oa);
97
  boofar (pa);
98
 
99
  boofar (ab);
100
  boofar (bb);
101
  boofar (cb);
102
  boofar (db);
103
  boofar (eb);
104
  boofar (fb);
105
  boofar (gb);
106
  boofar (hb);
107
  boofar (ib);
108
  boofar (jb);
109
  boofar (kb);
110
  boofar (lb);
111
  boofar (mb);
112
  boofar (nb);
113
  boofar (ob);
114
  boofar (pb);
115
 
116
  boofar (a);
117
  boofar (b);
118
  boofar (c);
119
  boofar (d);
120
  boofar (e);
121
  boofar (f);
122
  boofar (g);
123
  boofar (h);
124
  boofar (i);
125
  boofar (j);
126
  boofar (k);
127
  boofar (l);
128
  boofar (m);
129
  boofar (n);
130
  boofar (o);
131
  boofar (p);
132
  boofar (aa);
133
  boofar (ba);
134
  boofar (ca);
135
  boofar (da);
136
  boofar (ea);
137
  boofar (fa);
138
  boofar (ga);
139
  boofar (ha);
140
  boofar (ia);
141
  boofar (ja);
142
  boofar (ka);
143
  boofar (la);
144
  boofar (ma);
145
  boofar (na);
146
  boofar (oa);
147
  boofar (pa);
148
 
149
  boofar (ab);
150
  boofar (bb);
151
  boofar (cb);
152
  boofar (db);
153
  boofar (eb);
154
  boofar (fb);
155
  boofar (gb);
156
  boofar (hb);
157
  boofar (ib);
158
  boofar (jb);
159
  boofar (kb);
160
  boofar (lb);
161
  boofar (mb);
162
  boofar (nb);
163
  boofar (ob);
164
  boofar (pb);
165
 
166
}
167
 
168
test_exit_ignore_stack ()
169
{
170
  foobar (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
171
          1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
172
}

powered by: WebSVN 2.1.0

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