Changeset eaa2edaa


Ignore:
Timestamp:
Oct 19, 2017, 11:13:11 AM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
0a22cda
Parents:
c6e6333
git-author:
Rob Schluntz <rschlunt@…> (10/11/17 15:55:04)
git-committer:
Rob Schluntz <rschlunt@…> (10/19/17 11:13:11)
Message:

Update 64-bit tests for removed initialization casts

Location:
src/tests/.expect/64
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/64/extension.txt

    rc6e6333 reaa2edaa  
    9494        __extension__ signed int *__z__Pi_2;
    9595    };
    96     signed int __i__i_2 = ((signed int )(__extension__ __a__i_1+__extension__ 3));
     96    signed int __i__i_2 = (__extension__ __a__i_1+__extension__ 3);
    9797    ((void)__extension__ 3);
    9898    ((void)__extension__ __a__i_1);
  • src/tests/.expect/64/gccExtensions.txt

    rc6e6333 reaa2edaa  
    8181        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
    8282    }
    83     signed int __i__i_2 = ((signed int )__extension__ 3);
     83    signed int __i__i_2 = __extension__ 3;
    8484    __extension__ signed int __a__i_2;
    8585    __extension__ signed int __b__i_2;
  • src/tests/.expect/64/literals.txt

    rc6e6333 reaa2edaa  
    122122void *___operator_bitor__A0_1_0_0___fail__PFi_Pd0___eof__PFi_Pd0___open__PF_Pd0PCcPCc___close__PF_Pd0___read__PFPd0_Pd0PcUl___ungetc__PFPd0_Pd0c___fmt__PFi_Pd0PCc__FPd0_Pd015s_Istream_cstrC__1(__attribute__ ((unused)) signed int (*__fail__PFi_P7tistype__1)(void *__anonymous_object1284), __attribute__ ((unused)) signed int (*__eof__PFi_P7tistype__1)(void *__anonymous_object1285), __attribute__ ((unused)) void (*__open__PF_P7tistypePCcPCc__1)(void *__is__P7tistype_1, const char *__name__PCc_1, const char *__mode__PCc_1), __attribute__ ((unused)) void (*__close__PF_P7tistype__1)(void *__is__P7tistype_1), __attribute__ ((unused)) void *(*__read__PFP7tistype_P7tistypePcUl__1)(void *__anonymous_object1286, char *__anonymous_object1287, unsigned long int __anonymous_object1288), __attribute__ ((unused)) void *(*__ungetc__PFP7tistype_P7tistypec__1)(void *__anonymous_object1289, char __anonymous_object1290), __attribute__ ((unused)) signed int (*__fmt__PFi_P7tistypePCc__1)(void *__anonymous_object1291, const char *__fmt__PCc_1, ...), void *__anonymous_object1292, struct _Istream_cstrC __anonymous_object1293);
    123123enum __anonymous0 {
    124     __sepSize__C13e__anonymous0_1 = ((signed int )16),
     124    __sepSize__C13e__anonymous0_1 = 16,
    125125};
    126126struct ofstream {
     
    144144    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1) /* ?{} */);
    145145    {
    146         signed int _index0 = ((signed int )0);
     146        signed int _index0 = 0;
    147147        for (;(_index0<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index0))) {
    148148            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index0)])))) /* ?{} */);
     
    152152
    153153    {
    154         signed int _index1 = ((signed int )0);
     154        signed int _index1 = 0;
    155155        for (;(_index1<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index1))) {
    156156            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index1)])))) /* ?{} */);
     
    167167    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1=___src__9sofstream_1.__sepCur__PCc_1) /* ?{} */);
    168168    {
    169         signed int _index2 = ((signed int )0);
     169        signed int _index2 = 0;
    170170        for (;(_index2<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index2))) {
    171171            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index2)])))=___src__9sofstream_1.__separator__A0c_1[((signed long int )_index2)]) /* ?{} */);
     
    175175
    176176    {
    177         signed int _index3 = ((signed int )0);
     177        signed int _index3 = 0;
    178178        for (;(_index3<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index3))) {
    179179            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index3)])))=___src__9sofstream_1.__tupleSeparator__A0c_1[((signed long int )_index3)]) /* ?{} */);
     
    185185static inline void ___destructor__F_R9sofstream_autogen___1(struct ofstream *___dst__R9sofstream_1){
    186186    {
    187         signed int _index4 = ((signed int )(((signed int )__sepSize__C13e__anonymous0_1)-1));
     187        signed int _index4 = (((signed int )__sepSize__C13e__anonymous0_1)-1);
    188188        for (;(_index4>=0);((void)(--_index4))) {
    189189            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index4)])))) /* ^?{} */);
     
    193193
    194194    {
    195         signed int _index5 = ((signed int )(((signed int )__sepSize__C13e__anonymous0_1)-1));
     195        signed int _index5 = (((signed int )__sepSize__C13e__anonymous0_1)-1);
    196196        for (;(_index5>=0);((void)(--_index5))) {
    197197            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index5)])))) /* ^?{} */);
     
    214214    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1=___src__9sofstream_1.__sepCur__PCc_1));
    215215    {
    216         signed int _index6 = ((signed int )0);
     216        signed int _index6 = 0;
    217217        for (;(_index6<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index6))) {
    218218            ((void)((*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index6)]=___src__9sofstream_1.__separator__A0c_1[((signed long int )_index6)]));
     
    222222
    223223    {
    224         signed int _index7 = ((signed int )0);
     224        signed int _index7 = 0;
    225225        for (;(_index7<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index7))) {
    226226            ((void)((*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index7)]=___src__9sofstream_1.__tupleSeparator__A0c_1[((signed long int )_index7)]));
     
    239239    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1) /* ?{} */);
    240240    {
    241         signed int _index8 = ((signed int )0);
     241        signed int _index8 = 0;
    242242        for (;(_index8<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index8))) {
    243243            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index8)])))) /* ?{} */);
     
    247247
    248248    {
    249         signed int _index9 = ((signed int )0);
     249        signed int _index9 = 0;
    250250        for (;(_index9<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index9))) {
    251251            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index9)])))) /* ?{} */);
     
    262262    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1) /* ?{} */);
    263263    {
    264         signed int _index10 = ((signed int )0);
     264        signed int _index10 = 0;
    265265        for (;(_index10<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index10))) {
    266266            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index10)])))) /* ?{} */);
     
    270270
    271271    {
    272         signed int _index11 = ((signed int )0);
     272        signed int _index11 = 0;
    273273        for (;(_index11<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index11))) {
    274274            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index11)])))) /* ?{} */);
     
    285285    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1) /* ?{} */);
    286286    {
    287         signed int _index12 = ((signed int )0);
     287        signed int _index12 = 0;
    288288        for (;(_index12<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index12))) {
    289289            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index12)])))) /* ?{} */);
     
    293293
    294294    {
    295         signed int _index13 = ((signed int )0);
     295        signed int _index13 = 0;
    296296        for (;(_index13<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index13))) {
    297297            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index13)])))) /* ?{} */);
     
    308308    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1) /* ?{} */);
    309309    {
    310         signed int _index14 = ((signed int )0);
     310        signed int _index14 = 0;
    311311        for (;(_index14<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index14))) {
    312312            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index14)])))) /* ?{} */);
     
    316316
    317317    {
    318         signed int _index15 = ((signed int )0);
     318        signed int _index15 = 0;
    319319        for (;(_index15<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index15))) {
    320320            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index15)])))) /* ?{} */);
     
    331331    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1=__sepCur__PCc_1) /* ?{} */);
    332332    {
    333         signed int _index16 = ((signed int )0);
     333        signed int _index16 = 0;
    334334        for (;(_index16<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index16))) {
    335335            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index16)])))) /* ?{} */);
     
    339339
    340340    {
    341         signed int _index17 = ((signed int )0);
     341        signed int _index17 = 0;
    342342        for (;(_index17<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index17))) {
    343343            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index17)])))) /* ?{} */);
     
    354354    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1=__sepCur__PCc_1) /* ?{} */);
    355355    {
    356         signed int _index18 = ((signed int )0);
     356        signed int _index18 = 0;
    357357        for (;(_index18<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index18))) {
    358358            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index18)])))=__separator__A0c_1[((signed long int )_index18)]) /* ?{} */);
     
    362362
    363363    {
    364         signed int _index19 = ((signed int )0);
     364        signed int _index19 = 0;
    365365        for (;(_index19<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index19))) {
    366366            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index19)])))) /* ?{} */);
     
    377377    ((void)((*___dst__R9sofstream_1).__sepCur__PCc_1=__sepCur__PCc_1) /* ?{} */);
    378378    {
    379         signed int _index20 = ((signed int )0);
     379        signed int _index20 = 0;
    380380        for (;(_index20<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index20))) {
    381381            ((void)((*((char *)(&(*___dst__R9sofstream_1).__separator__A0c_1[((signed long int )_index20)])))=__separator__A0c_1[((signed long int )_index20)]) /* ?{} */);
     
    385385
    386386    {
    387         signed int _index21 = ((signed int )0);
     387        signed int _index21 = 0;
    388388        for (;(_index21<((signed int )__sepSize__C13e__anonymous0_1));((void)(++_index21))) {
    389389            ((void)((*((char *)(&(*___dst__R9sofstream_1).__tupleSeparator__A0c_1[((signed long int )_index21)])))=__tupleSeparator__A0c_1[((signed long int )_index21)]) /* ?{} */);
Note: See TracChangeset for help on using the changeset viewer.