1 | nameExpr is T
|
---|
2 | decl is T: function
|
---|
3 | with parameters
|
---|
4 | signed int
|
---|
5 | returning
|
---|
6 | signed int
|
---|
7 |
|
---|
8 | newExpr is Variable Expression: T: function
|
---|
9 | with parameters
|
---|
10 | signed int
|
---|
11 | returning
|
---|
12 | signed int
|
---|
13 |
|
---|
14 |
|
---|
15 | alternatives before prune:
|
---|
16 | Cost ( 0, 0, 0 ): Variable Expression: T: function
|
---|
17 | with parameters
|
---|
18 | signed int
|
---|
19 | returning
|
---|
20 | signed int
|
---|
21 |
|
---|
22 | (types:
|
---|
23 | pointer to function
|
---|
24 | with parameters
|
---|
25 | signed int
|
---|
26 | returning
|
---|
27 | signed int
|
---|
28 |
|
---|
29 | )
|
---|
30 | Environment:
|
---|
31 |
|
---|
32 | there are 1 alternatives before elimination
|
---|
33 | there are 1 alternatives after elimination
|
---|
34 | alternatives before prune:
|
---|
35 | Cost ( 0, 0, 0 ): constant expression 3 signed int (types:
|
---|
36 | signed int
|
---|
37 | )
|
---|
38 | Environment:
|
---|
39 |
|
---|
40 | there are 1 alternatives before elimination
|
---|
41 | there are 1 alternatives after elimination
|
---|
42 | findSubExprs
|
---|
43 | Cost ( 0, 0, 0 ): constant expression 3 signed int (types:
|
---|
44 | signed int
|
---|
45 | )
|
---|
46 | Environment:
|
---|
47 |
|
---|
48 | working on alternative:
|
---|
49 | Cost ( 0, 0, 0 ): Variable Expression: T: function
|
---|
50 | with parameters
|
---|
51 | signed int
|
---|
52 | returning
|
---|
53 | signed int
|
---|
54 |
|
---|
55 | (types:
|
---|
56 | pointer to function
|
---|
57 | with parameters
|
---|
58 | signed int
|
---|
59 | returning
|
---|
60 | signed int
|
---|
61 |
|
---|
62 | )
|
---|
63 | Environment:
|
---|
64 | formal type is signed int
|
---|
65 | actual type is signed int
|
---|
66 | need assertions:
|
---|
67 | ============= original indexer
|
---|
68 | ===idTable===
|
---|
69 | ===typeTable===
|
---|
70 | ===structTable===
|
---|
71 | ===enumTable===
|
---|
72 | ===unionTable===
|
---|
73 | ===contextTable===
|
---|
74 | ============= new indexer
|
---|
75 | ===idTable===
|
---|
76 | ===typeTable===
|
---|
77 | ===structTable===
|
---|
78 | ===enumTable===
|
---|
79 | ===unionTable===
|
---|
80 | ===contextTable===
|
---|
81 | actual expression:
|
---|
82 | constant expression 3 signed int --- results are
|
---|
83 | signed int
|
---|
84 |
|
---|
85 | converting signed int
|
---|
86 | to signed int
|
---|
87 | cost is( 0, 0, 0 )
|
---|
88 | Case +++++++++++++
|
---|
89 | formals are:
|
---|
90 | signed int
|
---|
91 | actuals are:
|
---|
92 | constant expression 3 signed int
|
---|
93 | bindings are:
|
---|
94 | cost of conversion is:( 0, 0, 0 )
|
---|
95 | alternatives before prune:
|
---|
96 | Cost ( 0, 0, 0 ): Application of
|
---|
97 | Variable Expression: T: function
|
---|
98 | with parameters
|
---|
99 | signed int
|
---|
100 | returning
|
---|
101 | signed int
|
---|
102 |
|
---|
103 | to arguments
|
---|
104 | constant expression 3 signed int
|
---|
105 | (types:
|
---|
106 | signed int
|
---|
107 | )
|
---|
108 | Environment:
|
---|
109 |
|
---|
110 | there are 1 alternatives before elimination
|
---|
111 | there are 1 alternatives after elimination
|
---|
112 | alternatives before prune:
|
---|
113 | Cost ( 0, 0, 1 ): Cast of:
|
---|
114 | Application of
|
---|
115 | Variable Expression: T: function
|
---|
116 | with parameters
|
---|
117 | signed int
|
---|
118 | returning
|
---|
119 | signed int
|
---|
120 |
|
---|
121 | to arguments
|
---|
122 | constant expression 3 signed int
|
---|
123 |
|
---|
124 | to:
|
---|
125 | nothing
|
---|
126 | (types:
|
---|
127 | )
|
---|
128 | Environment:
|
---|
129 |
|
---|
130 | there are 1 alternatives before elimination
|
---|
131 | there are 1 alternatives after elimination
|
---|
132 | nameExpr is ?=?
|
---|
133 | decl is ?=?: automatically generated inline static function
|
---|
134 | with parameters
|
---|
135 | _dst: pointer to instance of struct __anonymous0
|
---|
136 | _src: instance of struct __anonymous0
|
---|
137 | returning
|
---|
138 | instance of struct __anonymous0
|
---|
139 | with body
|
---|
140 | CompoundStmt
|
---|
141 | Expression Statement:
|
---|
142 | Applying untyped:
|
---|
143 | Name: ?=?
|
---|
144 | ...to:
|
---|
145 | Address of:
|
---|
146 | Member Expression, with field:
|
---|
147 | T: signed int
|
---|
148 | from aggregate:
|
---|
149 | Applying untyped:
|
---|
150 | Name: *?
|
---|
151 | ...to:
|
---|
152 | Variable Expression: _dst: pointer to instance of struct __anonymous0
|
---|
153 | Member Expression, with field:
|
---|
154 | T: signed int
|
---|
155 | from aggregate:
|
---|
156 | Variable Expression: _src: instance of struct __anonymous0
|
---|
157 |
|
---|
158 | Return Statement, returning: Variable Expression: _src: instance of struct __anonymous0
|
---|
159 |
|
---|
160 |
|
---|
161 |
|
---|
162 | newExpr is Variable Expression: ?=?: inline static function
|
---|
163 | with parameters
|
---|
164 | _dst: pointer to instance of struct __anonymous0
|
---|
165 | _src: instance of struct __anonymous0
|
---|
166 | returning
|
---|
167 | instance of struct __anonymous0
|
---|
168 |
|
---|
169 |
|
---|
170 | alternatives before prune:
|
---|
171 | Cost ( 0, 0, 0 ): Variable Expression: ?=?: inline static function
|
---|
172 | with parameters
|
---|
173 | _dst: pointer to instance of struct __anonymous0
|
---|
174 | _src: instance of struct __anonymous0
|
---|
175 | returning
|
---|
176 | instance of struct __anonymous0
|
---|
177 |
|
---|
178 | (types:
|
---|
179 | pointer to function
|
---|
180 | with parameters
|
---|
181 | _dst: pointer to instance of struct __anonymous0
|
---|
182 | _src: instance of struct __anonymous0
|
---|
183 | returning
|
---|
184 | instance of struct __anonymous0
|
---|
185 |
|
---|
186 | )
|
---|
187 | Environment:
|
---|
188 |
|
---|
189 | there are 1 alternatives before elimination
|
---|
190 | there are 1 alternatives after elimination
|
---|
191 | alternatives before prune:
|
---|
192 | Cost ( 0, 0, 0 ): Member Expression, with field:
|
---|
193 | T: signed int
|
---|
194 | from aggregate:
|
---|
195 | Applying untyped:
|
---|
196 | Name: *?
|
---|
197 | ...to:
|
---|
198 | Variable Expression: _dst: pointer to instance of struct __anonymous0
|
---|
199 | (types:
|
---|
200 | lvalue signed int
|
---|
201 | )
|
---|
202 | Environment:
|
---|
203 |
|
---|
204 | there are 1 alternatives before elimination
|
---|
205 | there are 1 alternatives after elimination
|
---|
206 | alternatives before prune:
|
---|
207 | Cost ( 0, 0, 0 ): Address of:
|
---|
208 | Member Expression, with field:
|
---|
209 | T: signed int
|
---|
210 | from aggregate:
|
---|
211 | Applying untyped:
|
---|
212 | Name: *?
|
---|
213 | ...to:
|
---|
214 | Variable Expression: _dst: pointer to instance of struct __anonymous0
|
---|
215 | (types:
|
---|
216 | pointer to signed int
|
---|
217 | )
|
---|
218 | Environment:
|
---|
219 |
|
---|
220 | there are 1 alternatives before elimination
|
---|
221 | there are 1 alternatives after elimination
|
---|
222 | findSubExprs
|
---|
223 | Cost ( 0, 0, 0 ): Address of:
|
---|
224 | Member Expression, with field:
|
---|
225 | T: signed int
|
---|
226 | from aggregate:
|
---|
227 | Applying untyped:
|
---|
228 | Name: *?
|
---|
229 | ...to:
|
---|
230 | Variable Expression: _dst: pointer to instance of struct __anonymous0
|
---|
231 | (types:
|
---|
232 | pointer to signed int
|
---|
233 | )
|
---|
234 | Environment:
|
---|
235 |
|
---|
236 | alternatives before prune:
|
---|
237 | Cost ( 0, 0, 0 ): Member Expression, with field:
|
---|
238 | T: signed int
|
---|
239 | from aggregate:
|
---|
240 | Variable Expression: _src: instance of struct __anonymous0
|
---|
241 | (types:
|
---|
242 | lvalue signed int
|
---|
243 | )
|
---|
244 | Environment:
|
---|
245 |
|
---|
246 | there are 1 alternatives before elimination
|
---|
247 | there are 1 alternatives after elimination
|
---|
248 | findSubExprs
|
---|
249 | Cost ( 0, 0, 0 ): Member Expression, with field:
|
---|
250 | T: signed int
|
---|
251 | from aggregate:
|
---|
252 | Variable Expression: _src: instance of struct __anonymous0
|
---|
253 | (types:
|
---|
254 | lvalue signed int
|
---|
255 | )
|
---|
256 | Environment:
|
---|
257 |
|
---|
258 | working on alternative:
|
---|
259 | Cost ( 0, 0, 0 ): Variable Expression: ?=?: inline static function
|
---|
260 | with parameters
|
---|
261 | _dst: pointer to instance of struct __anonymous0
|
---|
262 | _src: instance of struct __anonymous0
|
---|
263 | returning
|
---|
264 | instance of struct __anonymous0
|
---|
265 |
|
---|
266 | (types:
|
---|
267 | pointer to function
|
---|
268 | with parameters
|
---|
269 | _dst: pointer to instance of struct __anonymous0
|
---|
270 | _src: instance of struct __anonymous0
|
---|
271 | returning
|
---|
272 | instance of struct __anonymous0
|
---|
273 |
|
---|
274 | )
|
---|
275 | Environment:
|
---|
276 | formal type is pointer to instance of struct __anonymous0
|
---|
277 | actual type is pointer to signed int
|
---|
278 | alternatives before prune:
|
---|
279 | Cost ( 0, 0, 0 ): Variable Expression: _src: instance of struct __anonymous0
|
---|
280 | (types:
|
---|
281 | lvalue instance of struct __anonymous0
|
---|
282 | )
|
---|
283 | Environment:
|
---|
284 |
|
---|
285 | there are 1 alternatives before elimination
|
---|
286 | there are 1 alternatives after elimination
|
---|
287 | alternatives before prune:
|
---|
288 | Cost ( 0, 0, 0 ): Cast of:
|
---|
289 | Variable Expression: _src: instance of struct __anonymous0
|
---|
290 |
|
---|
291 | to:
|
---|
292 | instance of struct __anonymous0
|
---|
293 | (types:
|
---|
294 | instance of struct __anonymous0
|
---|
295 | )
|
---|
296 | Environment:
|
---|
297 |
|
---|
298 | there are 1 alternatives before elimination
|
---|
299 | there are 1 alternatives after elimination
|
---|
300 | alternatives before prune:
|
---|
301 | Cost ( 0, 0, 0 ): constant expression 3 signed int (types:
|
---|
302 | signed int
|
---|
303 | )
|
---|
304 | Environment:
|
---|
305 |
|
---|
306 | there are 1 alternatives before elimination
|
---|
307 | there are 1 alternatives after elimination
|
---|
308 | alternatives before prune:
|
---|
309 | Cost ( 0, 0, 0 ): constant expression 3 signed int (types:
|
---|
310 | signed int
|
---|
311 | )
|
---|
312 | Environment:
|
---|
313 |
|
---|
314 | there are 1 alternatives before elimination
|
---|
315 | there are 1 alternatives after elimination
|
---|
316 | alternatives before prune:
|
---|
317 | Cost ( 0, 0, 1 ): Cast of:
|
---|
318 | constant expression 3 signed int
|
---|
319 | to:
|
---|
320 | nothing
|
---|
321 | (types:
|
---|
322 | )
|
---|
323 | Environment:
|
---|
324 |
|
---|
325 | there are 1 alternatives before elimination
|
---|
326 | there are 1 alternatives after elimination
|
---|
327 | alternatives before prune:
|
---|
328 | Cost ( 0, 0, 0 ): constant expression 3 signed int (types:
|
---|
329 | signed int
|
---|
330 | )
|
---|
331 | Environment:
|
---|
332 |
|
---|
333 | there are 1 alternatives before elimination
|
---|
334 | there are 1 alternatives after elimination
|
---|
335 | alternatives before prune:
|
---|
336 | Cost ( 0, 0, 1 ): Cast of:
|
---|
337 | constant expression 3 signed int
|
---|
338 | to:
|
---|
339 | nothing
|
---|
340 | (types:
|
---|
341 | )
|
---|
342 | Environment:
|
---|
343 |
|
---|
344 | there are 1 alternatives before elimination
|
---|
345 | there are 1 alternatives after elimination
|
---|
346 | alternatives before prune:
|
---|
347 | Cost ( 0, 0, 0 ): constant expression 3 signed int (types:
|
---|
348 | signed int
|
---|
349 | )
|
---|
350 | Environment:
|
---|
351 |
|
---|
352 | there are 1 alternatives before elimination
|
---|
353 | there are 1 alternatives after elimination
|
---|
354 | alternatives before prune:
|
---|
355 | Cost ( 0, 0, 1 ): Cast of:
|
---|
356 | constant expression 3 signed int
|
---|
357 | to:
|
---|
358 | nothing
|
---|
359 | (types:
|
---|
360 | )
|
---|
361 | Environment:
|
---|
362 |
|
---|
363 | there are 1 alternatives before elimination
|
---|
364 | there are 1 alternatives after elimination
|
---|
365 | alternatives before prune:
|
---|
366 | Cost ( 0, 0, 0 ): constant expression 3 signed int (types:
|
---|
367 | signed int
|
---|
368 | )
|
---|
369 | Environment:
|
---|
370 |
|
---|
371 | there are 1 alternatives before elimination
|
---|
372 | there are 1 alternatives after elimination
|
---|
373 | alternatives before prune:
|
---|
374 | Cost ( 0, 0, 1 ): Cast of:
|
---|
375 | constant expression 3 signed int
|
---|
376 | to:
|
---|
377 | nothing
|
---|
378 | (types:
|
---|
379 | )
|
---|
380 | Environment:
|
---|
381 |
|
---|
382 | there are 1 alternatives before elimination
|
---|
383 | there are 1 alternatives after elimination
|
---|
384 | alternatives before prune:
|
---|
385 | Cost ( 0, 0, 0 ): constant expression 10 signed int (types:
|
---|
386 | signed int
|
---|
387 | )
|
---|
388 | Environment:
|
---|
389 |
|
---|
390 | there are 1 alternatives before elimination
|
---|
391 | there are 1 alternatives after elimination
|
---|
392 | alternatives before prune:
|
---|
393 | Cost ( 0, 0, 2 ): Cast of:
|
---|
394 | constant expression 10 signed int
|
---|
395 | to:
|
---|
396 | long unsigned int
|
---|
397 | (types:
|
---|
398 | long unsigned int
|
---|
399 | )
|
---|
400 | Environment:
|
---|
401 |
|
---|
402 | there are 1 alternatives before elimination
|
---|
403 | there are 1 alternatives after elimination
|
---|
404 | Error: No reasonable alternatives for expression Applying untyped:
|
---|
405 | Name: ?=?
|
---|
406 | ...to:
|
---|
407 | Address of:
|
---|
408 | Member Expression, with field:
|
---|
409 | T: signed int
|
---|
410 | from aggregate:
|
---|
411 | Applying untyped:
|
---|
412 | Name: *?
|
---|
413 | ...to:
|
---|
414 | Variable Expression: _dst: pointer to instance of struct __anonymous0
|
---|
415 | Member Expression, with field:
|
---|
416 | T: signed int
|
---|
417 | from aggregate:
|
---|
418 | Variable Expression: _src: instance of struct __anonymous0
|
---|
419 |
|
---|
420 | Error: No reasonable alternatives for expression Cast of:
|
---|
421 | constant expression 3 signed int
|
---|
422 | to:
|
---|
423 | instance of struct __anonymous0
|
---|
424 |
|
---|