Ignore:
Timestamp:
Oct 19, 2017, 11:54:26 AM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
6840e7c, e220391
Parents:
e41306d
Message:

Update 32-bit tests for autogen changes

File:
1 edited

Legend:

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

    re41306d ra15b72c  
    1717static inline void ___destructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1);
    1818static inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1);
     19static inline void ___constructor__F_R2sSi_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1);
     20static inline void ___constructor__F_R2sSii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1);
     21static inline void ___constructor__F_R2sSiii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1, signed int __c__i_1);
    1922static inline void ___constructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1){
    2023    ((void)((*___dst__R2sS_1).__a__i_1) /* ?{} */);
     
    3740    ((void)((*___dst__R2sS_1).__b__i_1=___src__2sS_1.__b__i_1));
    3841    ((void)((*___dst__R2sS_1).__c__i_1=___src__2sS_1.__c__i_1));
    39     ((void)___constructor__F_R2sS2sS_autogen___1((&___ret__2sS_1), ___src__2sS_1));
     42    ((void)___constructor__F_R2sS2sS_autogen___1((&___ret__2sS_1), (*___dst__R2sS_1)));
    4043    return ___ret__2sS_1;
    4144}
     
    6063    __extension__ signed int __c__i_1;
    6164};
     65static inline void ___constructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1);
     66static inline void ___constructor__F_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1);
     67static inline void ___destructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1);
     68static inline union U ___operator_assign__F2uU_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1);
     69static inline void ___constructor__F_R2uUi_autogen___1(union U *___dst__R2uU_1, signed int __a__i_1);
    6270static inline void ___constructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1){
    6371}
     
    7078    union U ___ret__2uU_1;
    7179    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
    72     ((void)___constructor__F_R2uU2uU_autogen___1((&___ret__2uU_1), ___src__2uU_1));
     80    ((void)___constructor__F_R2uU2uU_autogen___1((&___ret__2uU_1), (*___dst__R2uU_1)));
    7381    return ___ret__2uU_1;
    7482}
    75 static inline void ___constructor__F_R2uUi_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1, signed int __src__i_1){
    76     ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&__src__i_1)), sizeof(signed int )));
     83static inline void ___constructor__F_R2uUi_autogen___1(union U *___dst__R2uU_1, signed int __a__i_1){
     84    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&__a__i_1)), sizeof(signed int )));
    7785}
    7886__extension__ enum E {
     
    94102        __extension__ signed int *__z__Pi_2;
    95103    };
    96     signed int __i__i_2 = ((signed int )(__extension__ __a__i_1+__extension__ 3));
     104    inline void ___constructor__F_R2sS_autogen___2(struct S *___dst__R2sS_2){
     105        ((void)((*___dst__R2sS_2).__a__i_2) /* ?{} */);
     106        ((void)((*___dst__R2sS_2).__b__i_2) /* ?{} */);
     107        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
     108        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
     109        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
     110        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
     111    }
     112    inline void ___constructor__F_R2sS2sS_autogen___2(struct S *___dst__R2sS_2, struct S ___src__2sS_2){
     113        ((void)((*___dst__R2sS_2).__a__i_2=___src__2sS_2.__a__i_2) /* ?{} */);
     114        ((void)((*___dst__R2sS_2).__b__i_2=___src__2sS_2.__b__i_2) /* ?{} */);
     115        ((void)((*___dst__R2sS_2).__c__i_2=___src__2sS_2.__c__i_2) /* ?{} */);
     116        ((void)((*___dst__R2sS_2).__x__Pi_2=___src__2sS_2.__x__Pi_2) /* ?{} */);
     117        ((void)((*___dst__R2sS_2).__y__Pi_2=___src__2sS_2.__y__Pi_2) /* ?{} */);
     118        ((void)((*___dst__R2sS_2).__z__Pi_2=___src__2sS_2.__z__Pi_2) /* ?{} */);
     119    }
     120    inline void ___destructor__F_R2sS_autogen___2(struct S *___dst__R2sS_2){
     121        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ^?{} */);
     122        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ^?{} */);
     123        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ^?{} */);
     124        ((void)((*___dst__R2sS_2).__c__i_2) /* ^?{} */);
     125        ((void)((*___dst__R2sS_2).__b__i_2) /* ^?{} */);
     126        ((void)((*___dst__R2sS_2).__a__i_2) /* ^?{} */);
     127    }
     128    inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___2(struct S *___dst__R2sS_2, struct S ___src__2sS_2){
     129        struct S ___ret__2sS_2;
     130        ((void)((*___dst__R2sS_2).__a__i_2=___src__2sS_2.__a__i_2));
     131        ((void)((*___dst__R2sS_2).__b__i_2=___src__2sS_2.__b__i_2));
     132        ((void)((*___dst__R2sS_2).__c__i_2=___src__2sS_2.__c__i_2));
     133        ((void)((*___dst__R2sS_2).__x__Pi_2=___src__2sS_2.__x__Pi_2));
     134        ((void)((*___dst__R2sS_2).__y__Pi_2=___src__2sS_2.__y__Pi_2));
     135        ((void)((*___dst__R2sS_2).__z__Pi_2=___src__2sS_2.__z__Pi_2));
     136        ((void)___constructor__F_R2sS2sS_autogen___2((&___ret__2sS_2), (*___dst__R2sS_2)));
     137        return ___ret__2sS_2;
     138    }
     139    inline void ___constructor__F_R2sSi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2){
     140        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
     141        ((void)((*___dst__R2sS_2).__b__i_2) /* ?{} */);
     142        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
     143        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
     144        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
     145        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
     146    }
     147    inline void ___constructor__F_R2sSii_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2){
     148        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
     149        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
     150        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
     151        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
     152        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
     153        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
     154    }
     155    inline void ___constructor__F_R2sSiii_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2, signed int __c__i_2){
     156        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
     157        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
     158        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
     159        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
     160        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
     161        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
     162    }
     163    inline void ___constructor__F_R2sSiiiPi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2, signed int __c__i_2, signed int *__x__Pi_2){
     164        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
     165        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
     166        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
     167        ((void)((*___dst__R2sS_2).__x__Pi_2=__x__Pi_2) /* ?{} */);
     168        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
     169        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
     170    }
     171    inline void ___constructor__F_R2sSiiiPiPi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2, signed int __c__i_2, signed int *__x__Pi_2, signed int *__y__Pi_2){
     172        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
     173        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
     174        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
     175        ((void)((*___dst__R2sS_2).__x__Pi_2=__x__Pi_2) /* ?{} */);
     176        ((void)((*___dst__R2sS_2).__y__Pi_2=__y__Pi_2) /* ?{} */);
     177        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
     178    }
     179    inline void ___constructor__F_R2sSiiiPiPiPi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2, signed int __c__i_2, signed int *__x__Pi_2, signed int *__y__Pi_2, signed int *__z__Pi_2){
     180        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
     181        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
     182        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
     183        ((void)((*___dst__R2sS_2).__x__Pi_2=__x__Pi_2) /* ?{} */);
     184        ((void)((*___dst__R2sS_2).__y__Pi_2=__y__Pi_2) /* ?{} */);
     185        ((void)((*___dst__R2sS_2).__z__Pi_2=__z__Pi_2) /* ?{} */);
     186    }
     187    signed int __i__i_2 = (__extension__ __a__i_1+__extension__ 3);
    97188    ((void)__extension__ 3);
    98189    ((void)__extension__ __a__i_1);
Note: See TracChangeset for help on using the changeset viewer.