source: src/Tests/Expect-r/Misc.txt @ 356189a

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 356189a 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: 29.0 KB
Line 
1nameExpr is g
2decl is g: function
3  with parameters
4    unsigned int
5  returning
6    nothing
7
8newExpr is Variable Expression: g: function
9    with parameters
10      unsigned int
11    returning
12      nothing
13
14
15decl is g: function
16  with parameters
17    signed int
18  returning
19    nothing
20
21newExpr is Variable Expression: g: function
22    with parameters
23      signed int
24    returning
25      nothing
26
27
28alternatives before prune:
29Cost ( 0, 0, 0 ): Variable Expression: g: function
30    with parameters
31      unsigned int
32    returning
33      nothing
34
35(types:
36    pointer to function
37        with parameters
38          unsigned int
39        returning
40          nothing
41
42)
43Environment:
44
45Cost ( 0, 0, 0 ): Variable Expression: g: function
46    with parameters
47      signed int
48    returning
49      nothing
50
51(types:
52    pointer to function
53        with parameters
54          signed int
55        returning
56          nothing
57
58)
59Environment:
60
61there are 2 alternatives before elimination
62there are 2 alternatives after elimination
63nameExpr is a
64decl is a: signed int
65newExpr is Variable Expression: a: signed int
66
67alternatives before prune:
68Cost ( 0, 0, 0 ): Variable Expression: a: signed int
69(types:
70    lvalue signed int
71)
72Environment:
73
74there are 1 alternatives before elimination
75there are 1 alternatives after elimination
76alternatives before prune:
77Cost ( 0, 0, 1 ): Cast of:
78  Variable Expression: a: signed int
79
80to:
81  nothing
82(types:
83)
84Environment:
85
86there are 1 alternatives before elimination
87there are 1 alternatives after elimination
88nameExpr is b
89decl is b: float
90newExpr is Variable Expression: b: float
91
92decl is b: signed int
93newExpr is Variable Expression: b: signed int
94
95alternatives before prune:
96Cost ( 0, 0, 0 ): Variable Expression: b: float
97(types:
98    lvalue float
99)
100Environment:
101
102Cost ( 0, 0, 0 ): Variable Expression: b: signed int
103(types:
104    lvalue signed int
105)
106Environment:
107
108there are 2 alternatives before elimination
109there are 2 alternatives after elimination
110alternatives before prune:
111Cost ( 0, 0, 0 ): Comma Expression:
112  Variable Expression: a: signed int
113
114  Variable Expression: b: signed int
115(types:
116    lvalue signed int
117)
118Environment:
119
120Cost ( 0, 0, 0 ): Comma Expression:
121  Variable Expression: a: signed int
122
123  Variable Expression: b: float
124(types:
125    lvalue float
126)
127Environment:
128
129there are 2 alternatives before elimination
130there are 2 alternatives after elimination
131findSubExprs
132Cost ( 0, 0, 0 ): Comma Expression:
133  Variable Expression: a: signed int
134
135  Variable Expression: b: signed int
136(types:
137    lvalue signed int
138)
139Environment:
140
141Cost ( 0, 0, 0 ): Comma Expression:
142  Variable Expression: a: signed int
143
144  Variable Expression: b: float
145(types:
146    lvalue float
147)
148Environment:
149
150working on alternative:
151        Cost ( 0, 0, 0 ):         Variable Expression: g: function
152            with parameters
153              signed int
154            returning
155              nothing
156
157(types:
158            pointer to function
159                with parameters
160                  signed int
161                returning
162                  nothing
163
164)
165        Environment:
166formal type is signed int
167actual type is lvalue signed int
168need assertions:
169============= original indexer
170===idTable===
171===typeTable===
172===structTable===
173===enumTable===
174===unionTable===
175===contextTable===
176============= new indexer
177===idTable===
178===typeTable===
179===structTable===
180===enumTable===
181===unionTable===
182===contextTable===
183formal type is signed int
184actual type is lvalue float
185need assertions:
186============= original indexer
187===idTable===
188===typeTable===
189===structTable===
190===enumTable===
191===unionTable===
192===contextTable===
193============= new indexer
194===idTable===
195===typeTable===
196===structTable===
197===enumTable===
198===unionTable===
199===contextTable===
200working on alternative:
201        Cost ( 0, 0, 0 ):         Variable Expression: g: function
202            with parameters
203              unsigned int
204            returning
205              nothing
206
207(types:
208            pointer to function
209                with parameters
210                  unsigned int
211                returning
212                  nothing
213
214)
215        Environment:
216formal type is unsigned int
217actual type is lvalue signed int
218need assertions:
219============= original indexer
220===idTable===
221===typeTable===
222===structTable===
223===enumTable===
224===unionTable===
225===contextTable===
226============= new indexer
227===idTable===
228===typeTable===
229===structTable===
230===enumTable===
231===unionTable===
232===contextTable===
233formal type is unsigned int
234actual type is lvalue float
235need assertions:
236============= original indexer
237===idTable===
238===typeTable===
239===structTable===
240===enumTable===
241===unionTable===
242===contextTable===
243============= new indexer
244===idTable===
245===typeTable===
246===structTable===
247===enumTable===
248===unionTable===
249===contextTable===
250actual expression:
251        Comma Expression:
252          Variable Expression: a: signed int
253
254          Variable Expression: b: signed int
255--- results are
256        lvalue signed int
257
258converting lvalue signed int
259 to signed int
260cost is( 0, 0, 0 )
261Case +++++++++++++
262formals are:
263        signed int
264actuals are:
265                  Comma Expression:
266            Variable Expression: a: signed int
267
268            Variable Expression: b: signed int
269
270bindings are:
271cost of conversion is:( 0, 0, 0 )
272actual expression:
273        Comma Expression:
274          Variable Expression: a: signed int
275
276          Variable Expression: b: float
277--- results are
278        lvalue float
279
280converting lvalue float
281 to signed int
282cost is( 1, 0, 0 )
283Case +++++++++++++
284formals are:
285        signed int
286actuals are:
287                  Cast of:
288            Comma Expression:
289              Variable Expression: a: signed int
290
291              Variable Expression: b: float
292
293          to:
294            signed int
295
296bindings are:
297cost of conversion is:( 1, 0, 0 )
298actual expression:
299        Comma Expression:
300          Variable Expression: a: signed int
301
302          Variable Expression: b: signed int
303--- results are
304        lvalue signed int
305
306converting lvalue signed int
307 to unsigned int
308cost is( 0, 0, 1 )
309Case +++++++++++++
310formals are:
311        unsigned int
312actuals are:
313                  Cast of:
314            Comma Expression:
315              Variable Expression: a: signed int
316
317              Variable Expression: b: signed int
318
319          to:
320            unsigned int
321
322bindings are:
323cost of conversion is:( 0, 0, 1 )
324actual expression:
325        Comma Expression:
326          Variable Expression: a: signed int
327
328          Variable Expression: b: float
329--- results are
330        lvalue float
331
332converting lvalue float
333 to unsigned int
334cost is( 1, 0, 0 )
335Case +++++++++++++
336formals are:
337        unsigned int
338actuals are:
339                  Cast of:
340            Comma Expression:
341              Variable Expression: a: signed int
342
343              Variable Expression: b: float
344
345          to:
346            unsigned int
347
348bindings are:
349cost of conversion is:( 1, 0, 0 )
350alternatives before prune:
351Cost ( 0, 0, 0 ): Application of
352  Variable Expression: g: function
353      with parameters
354        signed int
355      returning
356        nothing
357
358to arguments
359      Comma Expression:
360      Variable Expression: a: signed int
361
362      Variable Expression: b: signed int
363
364(types:
365)
366Environment:
367
368Cost ( 1, 0, 0 ): Application of
369  Variable Expression: g: function
370      with parameters
371        signed int
372      returning
373        nothing
374
375to arguments
376      Cast of:
377      Comma Expression:
378        Variable Expression: a: signed int
379
380        Variable Expression: b: float
381
382    to:
383      signed int
384
385(types:
386)
387Environment:
388
389Cost ( 0, 0, 1 ): Application of
390  Variable Expression: g: function
391      with parameters
392        unsigned int
393      returning
394        nothing
395
396to arguments
397      Cast of:
398      Comma Expression:
399        Variable Expression: a: signed int
400
401        Variable Expression: b: signed int
402
403    to:
404      unsigned int
405
406(types:
407)
408Environment:
409
410Cost ( 1, 0, 0 ): Application of
411  Variable Expression: g: function
412      with parameters
413        unsigned int
414      returning
415        nothing
416
417to arguments
418      Cast of:
419      Comma Expression:
420        Variable Expression: a: signed int
421
422        Variable Expression: b: float
423
424    to:
425      unsigned int
426
427(types:
428)
429Environment:
430
431there are 1 alternatives before elimination
432there are 1 alternatives after elimination
433alternatives before prune:
434Cost ( 0, 0, 0 ): Cast of:
435  Application of
436    Variable Expression: g: function
437        with parameters
438          signed int
439        returning
440          nothing
441
442  to arguments
443          Comma Expression:
444        Variable Expression: a: signed int
445
446        Variable Expression: b: signed int
447
448
449to:
450  nothing
451(types:
452)
453Environment:
454
455there are 1 alternatives before elimination
456there are 1 alternatives after elimination
457nameExpr is g
458decl is g: function
459  with parameters
460    unsigned int
461  returning
462    nothing
463
464newExpr is Variable Expression: g: function
465    with parameters
466      unsigned int
467    returning
468      nothing
469
470
471decl is g: function
472  with parameters
473    signed int
474  returning
475    nothing
476
477newExpr is Variable Expression: g: function
478    with parameters
479      signed int
480    returning
481      nothing
482
483
484alternatives before prune:
485Cost ( 0, 0, 0 ): Variable Expression: g: function
486    with parameters
487      unsigned int
488    returning
489      nothing
490
491(types:
492    pointer to function
493        with parameters
494          unsigned int
495        returning
496          nothing
497
498)
499Environment:
500
501Cost ( 0, 0, 0 ): Variable Expression: g: function
502    with parameters
503      signed int
504    returning
505      nothing
506
507(types:
508    pointer to function
509        with parameters
510          signed int
511        returning
512          nothing
513
514)
515Environment:
516
517there are 2 alternatives before elimination
518there are 2 alternatives after elimination
519nameExpr is a
520decl is a: signed int
521newExpr is Variable Expression: a: signed int
522
523alternatives before prune:
524Cost ( 0, 0, 0 ): Variable Expression: a: signed int
525(types:
526    lvalue signed int
527)
528Environment:
529
530there are 1 alternatives before elimination
531there are 1 alternatives after elimination
532alternatives before prune:
533Cost ( 0, 0, 1 ): Cast of:
534  Variable Expression: a: signed int
535
536to:
537  nothing
538(types:
539)
540Environment:
541
542there are 1 alternatives before elimination
543there are 1 alternatives after elimination
544nameExpr is a
545decl is a: signed int
546newExpr is Variable Expression: a: signed int
547
548alternatives before prune:
549Cost ( 0, 0, 0 ): Variable Expression: a: signed int
550(types:
551    lvalue signed int
552)
553Environment:
554
555there are 1 alternatives before elimination
556there are 1 alternatives after elimination
557alternatives before prune:
558Cost ( 0, 0, 0 ): Comma Expression:
559  Variable Expression: a: signed int
560
561  Variable Expression: a: signed int
562(types:
563    lvalue signed int
564)
565Environment:
566
567there are 1 alternatives before elimination
568there are 1 alternatives after elimination
569alternatives before prune:
570Cost ( 0, 0, 1 ): Cast of:
571  Comma Expression:
572    Variable Expression: a: signed int
573
574    Variable Expression: a: signed int
575
576to:
577  nothing
578(types:
579)
580Environment:
581
582there are 1 alternatives before elimination
583there are 1 alternatives after elimination
584nameExpr is b
585decl is b: float
586newExpr is Variable Expression: b: float
587
588decl is b: signed int
589newExpr is Variable Expression: b: signed int
590
591alternatives before prune:
592Cost ( 0, 0, 0 ): Variable Expression: b: float
593(types:
594    lvalue float
595)
596Environment:
597
598Cost ( 0, 0, 0 ): Variable Expression: b: signed int
599(types:
600    lvalue signed int
601)
602Environment:
603
604there are 2 alternatives before elimination
605there are 2 alternatives after elimination
606alternatives before prune:
607Cost ( 0, 0, 0 ): Comma Expression:
608  Comma Expression:
609    Variable Expression: a: signed int
610
611    Variable Expression: a: signed int
612
613  Variable Expression: b: signed int
614(types:
615    lvalue signed int
616)
617Environment:
618
619Cost ( 0, 0, 0 ): Comma Expression:
620  Comma Expression:
621    Variable Expression: a: signed int
622
623    Variable Expression: a: signed int
624
625  Variable Expression: b: float
626(types:
627    lvalue float
628)
629Environment:
630
631there are 2 alternatives before elimination
632there are 2 alternatives after elimination
633findSubExprs
634Cost ( 0, 0, 0 ): Comma Expression:
635  Comma Expression:
636    Variable Expression: a: signed int
637
638    Variable Expression: a: signed int
639
640  Variable Expression: b: signed int
641(types:
642    lvalue signed int
643)
644Environment:
645
646Cost ( 0, 0, 0 ): Comma Expression:
647  Comma Expression:
648    Variable Expression: a: signed int
649
650    Variable Expression: a: signed int
651
652  Variable Expression: b: float
653(types:
654    lvalue float
655)
656Environment:
657
658working on alternative:
659        Cost ( 0, 0, 0 ):         Variable Expression: g: function
660            with parameters
661              signed int
662            returning
663              nothing
664
665(types:
666            pointer to function
667                with parameters
668                  signed int
669                returning
670                  nothing
671
672)
673        Environment:
674formal type is signed int
675actual type is lvalue signed int
676need assertions:
677============= original indexer
678===idTable===
679===typeTable===
680===structTable===
681===enumTable===
682===unionTable===
683===contextTable===
684============= new indexer
685===idTable===
686===typeTable===
687===structTable===
688===enumTable===
689===unionTable===
690===contextTable===
691formal type is signed int
692actual type is lvalue float
693need assertions:
694============= original indexer
695===idTable===
696===typeTable===
697===structTable===
698===enumTable===
699===unionTable===
700===contextTable===
701============= new indexer
702===idTable===
703===typeTable===
704===structTable===
705===enumTable===
706===unionTable===
707===contextTable===
708working on alternative:
709        Cost ( 0, 0, 0 ):         Variable Expression: g: function
710            with parameters
711              unsigned int
712            returning
713              nothing
714
715(types:
716            pointer to function
717                with parameters
718                  unsigned int
719                returning
720                  nothing
721
722)
723        Environment:
724formal type is unsigned int
725actual type is lvalue signed int
726need assertions:
727============= original indexer
728===idTable===
729===typeTable===
730===structTable===
731===enumTable===
732===unionTable===
733===contextTable===
734============= new indexer
735===idTable===
736===typeTable===
737===structTable===
738===enumTable===
739===unionTable===
740===contextTable===
741formal type is unsigned int
742actual type is lvalue float
743need assertions:
744============= original indexer
745===idTable===
746===typeTable===
747===structTable===
748===enumTable===
749===unionTable===
750===contextTable===
751============= new indexer
752===idTable===
753===typeTable===
754===structTable===
755===enumTable===
756===unionTable===
757===contextTable===
758actual expression:
759        Comma Expression:
760          Comma Expression:
761            Variable Expression: a: signed int
762
763            Variable Expression: a: signed int
764
765          Variable Expression: b: signed int
766--- results are
767        lvalue signed int
768
769converting lvalue signed int
770 to signed int
771cost is( 0, 0, 0 )
772Case +++++++++++++
773formals are:
774        signed int
775actuals are:
776                  Comma Expression:
777            Comma Expression:
778              Variable Expression: a: signed int
779
780              Variable Expression: a: signed int
781
782            Variable Expression: b: signed int
783
784bindings are:
785cost of conversion is:( 0, 0, 0 )
786actual expression:
787        Comma Expression:
788          Comma Expression:
789            Variable Expression: a: signed int
790
791            Variable Expression: a: signed int
792
793          Variable Expression: b: float
794--- results are
795        lvalue float
796
797converting lvalue float
798 to signed int
799cost is( 1, 0, 0 )
800Case +++++++++++++
801formals are:
802        signed int
803actuals are:
804                  Cast of:
805            Comma Expression:
806              Comma Expression:
807                Variable Expression: a: signed int
808
809                Variable Expression: a: signed int
810
811              Variable Expression: b: float
812
813          to:
814            signed int
815
816bindings are:
817cost of conversion is:( 1, 0, 0 )
818actual expression:
819        Comma Expression:
820          Comma Expression:
821            Variable Expression: a: signed int
822
823            Variable Expression: a: signed int
824
825          Variable Expression: b: signed int
826--- results are
827        lvalue signed int
828
829converting lvalue signed int
830 to unsigned int
831cost is( 0, 0, 1 )
832Case +++++++++++++
833formals are:
834        unsigned int
835actuals are:
836                  Cast of:
837            Comma Expression:
838              Comma Expression:
839                Variable Expression: a: signed int
840
841                Variable Expression: a: signed int
842
843              Variable Expression: b: signed int
844
845          to:
846            unsigned int
847
848bindings are:
849cost of conversion is:( 0, 0, 1 )
850actual expression:
851        Comma Expression:
852          Comma Expression:
853            Variable Expression: a: signed int
854
855            Variable Expression: a: signed int
856
857          Variable Expression: b: float
858--- results are
859        lvalue float
860
861converting lvalue float
862 to unsigned int
863cost is( 1, 0, 0 )
864Case +++++++++++++
865formals are:
866        unsigned int
867actuals are:
868                  Cast of:
869            Comma Expression:
870              Comma Expression:
871                Variable Expression: a: signed int
872
873                Variable Expression: a: signed int
874
875              Variable Expression: b: float
876
877          to:
878            unsigned int
879
880bindings are:
881cost of conversion is:( 1, 0, 0 )
882alternatives before prune:
883Cost ( 0, 0, 0 ): Application of
884  Variable Expression: g: function
885      with parameters
886        signed int
887      returning
888        nothing
889
890to arguments
891      Comma Expression:
892      Comma Expression:
893        Variable Expression: a: signed int
894
895        Variable Expression: a: signed int
896
897      Variable Expression: b: signed int
898
899(types:
900)
901Environment:
902
903Cost ( 1, 0, 0 ): Application of
904  Variable Expression: g: function
905      with parameters
906        signed int
907      returning
908        nothing
909
910to arguments
911      Cast of:
912      Comma Expression:
913        Comma Expression:
914          Variable Expression: a: signed int
915
916          Variable Expression: a: signed int
917
918        Variable Expression: b: float
919
920    to:
921      signed int
922
923(types:
924)
925Environment:
926
927Cost ( 0, 0, 1 ): Application of
928  Variable Expression: g: function
929      with parameters
930        unsigned int
931      returning
932        nothing
933
934to arguments
935      Cast of:
936      Comma Expression:
937        Comma Expression:
938          Variable Expression: a: signed int
939
940          Variable Expression: a: signed int
941
942        Variable Expression: b: signed int
943
944    to:
945      unsigned int
946
947(types:
948)
949Environment:
950
951Cost ( 1, 0, 0 ): Application of
952  Variable Expression: g: function
953      with parameters
954        unsigned int
955      returning
956        nothing
957
958to arguments
959      Cast of:
960      Comma Expression:
961        Comma Expression:
962          Variable Expression: a: signed int
963
964          Variable Expression: a: signed int
965
966        Variable Expression: b: float
967
968    to:
969      unsigned int
970
971(types:
972)
973Environment:
974
975there are 1 alternatives before elimination
976there are 1 alternatives after elimination
977alternatives before prune:
978Cost ( 0, 0, 0 ): Cast of:
979  Application of
980    Variable Expression: g: function
981        with parameters
982          signed int
983        returning
984          nothing
985
986  to arguments
987          Comma Expression:
988        Comma Expression:
989          Variable Expression: a: signed int
990
991          Variable Expression: a: signed int
992
993        Variable Expression: b: signed int
994
995
996to:
997  nothing
998(types:
999)
1000Environment:
1001
1002there are 1 alternatives before elimination
1003there are 1 alternatives after elimination
1004nameExpr is g
1005decl is g: function
1006  with parameters
1007    unsigned int
1008  returning
1009    nothing
1010
1011newExpr is Variable Expression: g: function
1012    with parameters
1013      unsigned int
1014    returning
1015      nothing
1016
1017
1018decl is g: function
1019  with parameters
1020    signed int
1021  returning
1022    nothing
1023
1024newExpr is Variable Expression: g: function
1025    with parameters
1026      signed int
1027    returning
1028      nothing
1029
1030
1031alternatives before prune:
1032Cost ( 0, 0, 0 ): Variable Expression: g: function
1033    with parameters
1034      unsigned int
1035    returning
1036      nothing
1037
1038(types:
1039    pointer to function
1040        with parameters
1041          unsigned int
1042        returning
1043          nothing
1044
1045)
1046Environment:
1047
1048Cost ( 0, 0, 0 ): Variable Expression: g: function
1049    with parameters
1050      signed int
1051    returning
1052      nothing
1053
1054(types:
1055    pointer to function
1056        with parameters
1057          signed int
1058        returning
1059          nothing
1060
1061)
1062Environment:
1063
1064there are 2 alternatives before elimination
1065there are 2 alternatives after elimination
1066nameExpr is a
1067decl is a: signed int
1068newExpr is Variable Expression: a: signed int
1069
1070alternatives before prune:
1071Cost ( 0, 0, 0 ): Variable Expression: a: signed int
1072(types:
1073    lvalue signed int
1074)
1075Environment:
1076
1077there are 1 alternatives before elimination
1078there are 1 alternatives after elimination
1079alternatives before prune:
1080Cost ( 0, 0, 0 ): Sizeof Expression on:   Variable Expression: a: signed int
1081
1082(types:
1083    unsigned int
1084)
1085Environment:
1086
1087there are 1 alternatives before elimination
1088there are 1 alternatives after elimination
1089findSubExprs
1090Cost ( 0, 0, 0 ): Sizeof Expression on:   Variable Expression: a: signed int
1091
1092(types:
1093    unsigned int
1094)
1095Environment:
1096
1097working on alternative:
1098        Cost ( 0, 0, 0 ):         Variable Expression: g: function
1099            with parameters
1100              signed int
1101            returning
1102              nothing
1103
1104(types:
1105            pointer to function
1106                with parameters
1107                  signed int
1108                returning
1109                  nothing
1110
1111)
1112        Environment:
1113formal type is signed int
1114actual type is unsigned int
1115need assertions:
1116============= original indexer
1117===idTable===
1118===typeTable===
1119===structTable===
1120===enumTable===
1121===unionTable===
1122===contextTable===
1123============= new indexer
1124===idTable===
1125===typeTable===
1126===structTable===
1127===enumTable===
1128===unionTable===
1129===contextTable===
1130working on alternative:
1131        Cost ( 0, 0, 0 ):         Variable Expression: g: function
1132            with parameters
1133              unsigned int
1134            returning
1135              nothing
1136
1137(types:
1138            pointer to function
1139                with parameters
1140                  unsigned int
1141                returning
1142                  nothing
1143
1144)
1145        Environment:
1146formal type is unsigned int
1147actual type is unsigned int
1148need assertions:
1149============= original indexer
1150===idTable===
1151===typeTable===
1152===structTable===
1153===enumTable===
1154===unionTable===
1155===contextTable===
1156============= new indexer
1157===idTable===
1158===typeTable===
1159===structTable===
1160===enumTable===
1161===unionTable===
1162===contextTable===
1163actual expression:
1164        Sizeof Expression on:           Variable Expression: a: signed int
1165
1166--- results are
1167        unsigned int
1168
1169converting unsigned int
1170 to signed int
1171cost is( 1, 0, 0 )
1172Case +++++++++++++
1173formals are:
1174        signed int
1175actuals are:
1176                  Cast of:
1177            Sizeof Expression on:               Variable Expression: a: signed int
1178
1179
1180          to:
1181            signed int
1182
1183bindings are:
1184cost of conversion is:( 1, 0, 0 )
1185actual expression:
1186        Sizeof Expression on:           Variable Expression: a: signed int
1187
1188--- results are
1189        unsigned int
1190
1191converting unsigned int
1192 to unsigned int
1193cost is( 0, 0, 0 )
1194Case +++++++++++++
1195formals are:
1196        unsigned int
1197actuals are:
1198                  Sizeof Expression on:             Variable Expression: a: signed int
1199
1200
1201bindings are:
1202cost of conversion is:( 0, 0, 0 )
1203alternatives before prune:
1204Cost ( 1, 0, 0 ): Application of
1205  Variable Expression: g: function
1206      with parameters
1207        signed int
1208      returning
1209        nothing
1210
1211to arguments
1212      Cast of:
1213      Sizeof Expression on:         Variable Expression: a: signed int
1214
1215
1216    to:
1217      signed int
1218
1219(types:
1220)
1221Environment:
1222
1223Cost ( 0, 0, 0 ): Application of
1224  Variable Expression: g: function
1225      with parameters
1226        unsigned int
1227      returning
1228        nothing
1229
1230to arguments
1231      Sizeof Expression on:       Variable Expression: a: signed int
1232
1233
1234(types:
1235)
1236Environment:
1237
1238cost ( 0, 0, 0 ) beats ( 1, 0, 0 )
1239there are 1 alternatives before elimination
1240there are 1 alternatives after elimination
1241alternatives before prune:
1242Cost ( 0, 0, 0 ): Cast of:
1243  Application of
1244    Variable Expression: g: function
1245        with parameters
1246          unsigned int
1247        returning
1248          nothing
1249
1250  to arguments
1251          Sizeof Expression on:         Variable Expression: a: signed int
1252
1253
1254
1255to:
1256  nothing
1257(types:
1258)
1259Environment:
1260
1261there are 1 alternatives before elimination
1262there are 1 alternatives after elimination
1263nameExpr is g
1264decl is g: function
1265  with parameters
1266    unsigned int
1267  returning
1268    nothing
1269
1270newExpr is Variable Expression: g: function
1271    with parameters
1272      unsigned int
1273    returning
1274      nothing
1275
1276
1277decl is g: function
1278  with parameters
1279    signed int
1280  returning
1281    nothing
1282
1283newExpr is Variable Expression: g: function
1284    with parameters
1285      signed int
1286    returning
1287      nothing
1288
1289
1290alternatives before prune:
1291Cost ( 0, 0, 0 ): Variable Expression: g: function
1292    with parameters
1293      unsigned int
1294    returning
1295      nothing
1296
1297(types:
1298    pointer to function
1299        with parameters
1300          unsigned int
1301        returning
1302          nothing
1303
1304)
1305Environment:
1306
1307Cost ( 0, 0, 0 ): Variable Expression: g: function
1308    with parameters
1309      signed int
1310    returning
1311      nothing
1312
1313(types:
1314    pointer to function
1315        with parameters
1316          signed int
1317        returning
1318          nothing
1319
1320)
1321Environment:
1322
1323there are 2 alternatives before elimination
1324there are 2 alternatives after elimination
1325alternatives before prune:
1326Cost ( 0, 0, 0 ): Sizeof Expression on: signed int
1327(types:
1328    unsigned int
1329)
1330Environment:
1331
1332there are 1 alternatives before elimination
1333there are 1 alternatives after elimination
1334findSubExprs
1335Cost ( 0, 0, 0 ): Sizeof Expression on: signed int
1336(types:
1337    unsigned int
1338)
1339Environment:
1340
1341working on alternative:
1342        Cost ( 0, 0, 0 ):         Variable Expression: g: function
1343            with parameters
1344              signed int
1345            returning
1346              nothing
1347
1348(types:
1349            pointer to function
1350                with parameters
1351                  signed int
1352                returning
1353                  nothing
1354
1355)
1356        Environment:
1357formal type is signed int
1358actual type is unsigned int
1359need assertions:
1360============= original indexer
1361===idTable===
1362===typeTable===
1363===structTable===
1364===enumTable===
1365===unionTable===
1366===contextTable===
1367============= new indexer
1368===idTable===
1369===typeTable===
1370===structTable===
1371===enumTable===
1372===unionTable===
1373===contextTable===
1374working on alternative:
1375        Cost ( 0, 0, 0 ):         Variable Expression: g: function
1376            with parameters
1377              unsigned int
1378            returning
1379              nothing
1380
1381(types:
1382            pointer to function
1383                with parameters
1384                  unsigned int
1385                returning
1386                  nothing
1387
1388)
1389        Environment:
1390formal type is unsigned int
1391actual type is unsigned int
1392need assertions:
1393============= original indexer
1394===idTable===
1395===typeTable===
1396===structTable===
1397===enumTable===
1398===unionTable===
1399===contextTable===
1400============= new indexer
1401===idTable===
1402===typeTable===
1403===structTable===
1404===enumTable===
1405===unionTable===
1406===contextTable===
1407actual expression:
1408        Sizeof Expression on: signed int
1409--- results are
1410        unsigned int
1411
1412converting unsigned int
1413 to signed int
1414cost is( 1, 0, 0 )
1415Case +++++++++++++
1416formals are:
1417        signed int
1418actuals are:
1419                  Cast of:
1420            Sizeof Expression on: signed int
1421
1422          to:
1423            signed int
1424
1425bindings are:
1426cost of conversion is:( 1, 0, 0 )
1427actual expression:
1428        Sizeof Expression on: signed int
1429--- results are
1430        unsigned int
1431
1432converting unsigned int
1433 to unsigned int
1434cost is( 0, 0, 0 )
1435Case +++++++++++++
1436formals are:
1437        unsigned int
1438actuals are:
1439                  Sizeof Expression on: signed int
1440
1441bindings are:
1442cost of conversion is:( 0, 0, 0 )
1443alternatives before prune:
1444Cost ( 1, 0, 0 ): Application of
1445  Variable Expression: g: function
1446      with parameters
1447        signed int
1448      returning
1449        nothing
1450
1451to arguments
1452      Cast of:
1453      Sizeof Expression on: signed int
1454
1455    to:
1456      signed int
1457
1458(types:
1459)
1460Environment:
1461
1462Cost ( 0, 0, 0 ): Application of
1463  Variable Expression: g: function
1464      with parameters
1465        unsigned int
1466      returning
1467        nothing
1468
1469to arguments
1470      Sizeof Expression on: signed int
1471
1472(types:
1473)
1474Environment:
1475
1476cost ( 0, 0, 0 ) beats ( 1, 0, 0 )
1477there are 1 alternatives before elimination
1478there are 1 alternatives after elimination
1479alternatives before prune:
1480Cost ( 0, 0, 0 ): Cast of:
1481  Application of
1482    Variable Expression: g: function
1483        with parameters
1484          unsigned int
1485        returning
1486          nothing
1487
1488  to arguments
1489          Sizeof Expression on: signed int
1490
1491
1492to:
1493  nothing
1494(types:
1495)
1496Environment:
1497
1498there are 1 alternatives before elimination
1499there are 1 alternatives after elimination
1500int __a__i;
1501int __b__i;
1502float __b__f;
1503void __g__F_i_(int );
1504void __g__F_Ui_(unsigned int );
1505void __f__F__(void){
1506    __g__F_i_((__a__i , __b__i));
1507    __g__F_i_(((__a__i , __a__i) , __b__i));
1508    __g__F_Ui_(sizeof(__a__i));
1509    __g__F_Ui_(sizeof(int ));
1510}
Note: See TracBrowser for help on using the repository browser.