source: src/Tests/Expect-r/MiscError.txt @ b1d6dd5

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since b1d6dd5 was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

fix parsing error for EOF message, change cfa-ccp -x flag to -v, regression testing third attempt: consolidate example programs

  • Property mode set to 100644
File size: 6.8 KB
Line 
1nameExpr is g
2decl is g: function
3  with parameters
4    signed int
5  returning
6    nothing
7
8newExpr is Variable Expression: g: function
9    with parameters
10      signed int
11    returning
12      nothing
13
14
15alternatives before prune:
16Cost ( 0, 0, 0 ): Variable Expression: g: function
17    with parameters
18      signed int
19    returning
20      nothing
21
22(types:
23    pointer to function
24        with parameters
25          signed int
26        returning
27          nothing
28
29)
30Environment:
31
32there are 1 alternatives before elimination
33there are 1 alternatives after elimination
34nameExpr is b
35decl is b: float
36newExpr is Variable Expression: b: float
37
38decl is b: signed int
39newExpr is Variable Expression: b: signed int
40
41alternatives before prune:
42Cost ( 0, 0, 0 ): Variable Expression: b: float
43(types:
44    lvalue float
45)
46Environment:
47
48Cost ( 0, 0, 0 ): Variable Expression: b: signed int
49(types:
50    lvalue signed int
51)
52Environment:
53
54there are 2 alternatives before elimination
55there are 2 alternatives after elimination
56alternatives before prune:
57Cost ( 0, 0, 1 ): Cast of:
58  Variable Expression: b: signed int
59
60to:
61  nothing
62(types:
63)
64Environment:
65
66Cost ( 0, 0, 1 ): Cast of:
67  Variable Expression: b: float
68
69to:
70  nothing
71(types:
72)
73Environment:
74
75marking ambiguous
76there are 1 alternatives before elimination
77nameExpr is g
78decl is g: function
79  with parameters
80    signed int
81  returning
82    nothing
83
84newExpr is Variable Expression: g: function
85    with parameters
86      signed int
87    returning
88      nothing
89
90
91alternatives before prune:
92Cost ( 0, 0, 0 ): Variable Expression: g: function
93    with parameters
94      signed int
95    returning
96      nothing
97
98(types:
99    pointer to function
100        with parameters
101          signed int
102        returning
103          nothing
104
105)
106Environment:
107
108there are 1 alternatives before elimination
109there are 1 alternatives after elimination
110nameExpr is b
111decl is b: float
112newExpr is Variable Expression: b: float
113
114decl is b: signed int
115newExpr is Variable Expression: b: signed int
116
117alternatives before prune:
118Cost ( 0, 0, 0 ): Variable Expression: b: float
119(types:
120    lvalue float
121)
122Environment:
123
124Cost ( 0, 0, 0 ): Variable Expression: b: signed int
125(types:
126    lvalue signed int
127)
128Environment:
129
130there are 2 alternatives before elimination
131there are 2 alternatives after elimination
132alternatives before prune:
133Cost ( 0, 0, 1 ): Cast of:
134  Variable Expression: b: signed int
135
136to:
137  nothing
138(types:
139)
140Environment:
141
142Cost ( 0, 0, 1 ): Cast of:
143  Variable Expression: b: float
144
145to:
146  nothing
147(types:
148)
149Environment:
150
151marking ambiguous
152there are 1 alternatives before elimination
153nameExpr is g
154decl is g: function
155  with parameters
156    signed int
157  returning
158    nothing
159
160newExpr is Variable Expression: g: function
161    with parameters
162      signed int
163    returning
164      nothing
165
166
167alternatives before prune:
168Cost ( 0, 0, 0 ): Variable Expression: g: function
169    with parameters
170      signed int
171    returning
172      nothing
173
174(types:
175    pointer to function
176        with parameters
177          signed int
178        returning
179          nothing
180
181)
182Environment:
183
184there are 1 alternatives before elimination
185there are 1 alternatives after elimination
186nameExpr is a
187decl is a: signed int
188newExpr is Variable Expression: a: signed int
189
190alternatives before prune:
191Cost ( 0, 0, 0 ): Variable Expression: a: signed int
192(types:
193    lvalue signed int
194)
195Environment:
196
197there are 1 alternatives before elimination
198there are 1 alternatives after elimination
199alternatives before prune:
200Cost ( 0, 0, 1 ): Cast of:
201  Variable Expression: a: signed int
202
203to:
204  nothing
205(types:
206)
207Environment:
208
209there are 1 alternatives before elimination
210there are 1 alternatives after elimination
211nameExpr is b
212decl is b: float
213newExpr is Variable Expression: b: float
214
215decl is b: signed int
216newExpr is Variable Expression: b: signed int
217
218alternatives before prune:
219Cost ( 0, 0, 0 ): Variable Expression: b: float
220(types:
221    lvalue float
222)
223Environment:
224
225Cost ( 0, 0, 0 ): Variable Expression: b: signed int
226(types:
227    lvalue signed int
228)
229Environment:
230
231there are 2 alternatives before elimination
232there are 2 alternatives after elimination
233alternatives before prune:
234Cost ( 0, 0, 0 ): Comma Expression:
235  Variable Expression: a: signed int
236
237  Variable Expression: b: signed int
238(types:
239    lvalue signed int
240)
241Environment:
242
243Cost ( 0, 0, 0 ): Comma Expression:
244  Variable Expression: a: signed int
245
246  Variable Expression: b: float
247(types:
248    lvalue float
249)
250Environment:
251
252there are 2 alternatives before elimination
253there are 2 alternatives after elimination
254alternatives before prune:
255Cost ( 0, 0, 1 ): Cast of:
256  Comma Expression:
257    Variable Expression: a: signed int
258
259    Variable Expression: b: signed int
260
261to:
262  nothing
263(types:
264)
265Environment:
266
267Cost ( 0, 0, 1 ): Cast of:
268  Comma Expression:
269    Variable Expression: a: signed int
270
271    Variable Expression: b: float
272
273to:
274  nothing
275(types:
276)
277Environment:
278
279marking ambiguous
280there are 1 alternatives before elimination
281nameExpr is b
282decl is b: float
283newExpr is Variable Expression: b: float
284
285decl is b: signed int
286newExpr is Variable Expression: b: signed int
287
288alternatives before prune:
289Cost ( 0, 0, 0 ): Variable Expression: b: float
290(types:
291    lvalue float
292)
293Environment:
294
295Cost ( 0, 0, 0 ): Variable Expression: b: signed int
296(types:
297    lvalue signed int
298)
299Environment:
300
301there are 2 alternatives before elimination
302there are 2 alternatives after elimination
303Error: Can't choose between alternatives for expression Cast of:
304  Name: b
305
306to:
307  nothing
308Alternatives are:        Cost ( 0, 0, 1 ):         Cast of:
309          Variable Expression: b: signed int
310
311        to:
312          nothing
313(types:
314)
315        Environment:
316
317        Cost ( 0, 0, 1 ):         Cast of:
318          Variable Expression: b: float
319
320        to:
321          nothing
322(types:
323)
324        Environment:
325
326
327Error: Can't choose between alternatives for expression Cast of:
328  Name: b
329
330to:
331  nothing
332Alternatives are:        Cost ( 0, 0, 1 ):         Cast of:
333          Variable Expression: b: signed int
334
335        to:
336          nothing
337(types:
338)
339        Environment:
340
341        Cost ( 0, 0, 1 ):         Cast of:
342          Variable Expression: b: float
343
344        to:
345          nothing
346(types:
347)
348        Environment:
349
350
351Error: Can't choose between alternatives for expression Cast of:
352  Comma Expression:
353    Name: a
354
355    Name: b
356
357to:
358  nothing
359Alternatives are:        Cost ( 0, 0, 1 ):         Cast of:
360          Comma Expression:
361            Variable Expression: a: signed int
362
363            Variable Expression: b: signed int
364
365        to:
366          nothing
367(types:
368)
369        Environment:
370
371        Cost ( 0, 0, 1 ):         Cast of:
372          Comma Expression:
373            Variable Expression: a: signed int
374
375            Variable Expression: b: float
376
377        to:
378          nothing
379(types:
380)
381        Environment:
382
383
384Error: Ambiguous expression in sizeof operand: Name: b
385
Note: See TracBrowser for help on using the repository browser.