Changeset ed9ecda


Ignore:
Timestamp:
Jul 13, 2016, 9:17:25 AM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
6066e32, d1b9d78
Parents:
5479e63
Message:

updated gccExtensions test for the additionnal cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/gccExtensions.txt

    r5479e63 red9ecda  
    2727    }
    2828    inline void ___constructor__F_P2sS_autogen___2(struct S *___dst__P2sS_2){
    29         ((void)((*___dst__P2sS_2).__a__i_2) /* ?{} */);
    30         ((void)((*___dst__P2sS_2).__b__i_2) /* ?{} */);
    31         ((void)((*___dst__P2sS_2).__c__i_2) /* ?{} */);
     29        ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))) /* ?{} */);
     30        ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ?{} */);
     31        ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
    3232    }
    3333    inline void ___constructor__F_P2sS2sS_autogen___2(struct S *___dst__P2sS_2, struct S ___src__2sS_2){
    34         ((void)((*___dst__P2sS_2).__a__i_2=___src__2sS_2.__a__i_2) /* ?{} */);
    35         ((void)((*___dst__P2sS_2).__b__i_2=___src__2sS_2.__b__i_2) /* ?{} */);
    36         ((void)((*___dst__P2sS_2).__c__i_2=___src__2sS_2.__c__i_2) /* ?{} */);
     34        ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=___src__2sS_2.__a__i_2) /* ?{} */);
     35        ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=___src__2sS_2.__b__i_2) /* ?{} */);
     36        ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))=___src__2sS_2.__c__i_2) /* ?{} */);
    3737    }
    3838    inline void ___destructor__F_P2sS_autogen___2(struct S *___dst__P2sS_2){
    39         ((void)((*___dst__P2sS_2).__c__i_2) /* ^?{} */);
    40         ((void)((*___dst__P2sS_2).__b__i_2) /* ^?{} */);
    41         ((void)((*___dst__P2sS_2).__a__i_2) /* ^?{} */);
     39        ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ^?{} */);
     40        ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ^?{} */);
     41        ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))) /* ^?{} */);
    4242    }
    4343    inline void ___constructor__F_P2sSi_autogen___2(struct S *___dst__P2sS_2, int __a__i_2){
    44         ((void)((*___dst__P2sS_2).__a__i_2=__a__i_2) /* ?{} */);
    45         ((void)((*___dst__P2sS_2).__b__i_2) /* ?{} */);
    46         ((void)((*___dst__P2sS_2).__c__i_2) /* ?{} */);
     44        ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
     45        ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ?{} */);
     46        ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
    4747    }
    4848    inline void ___constructor__F_P2sSii_autogen___2(struct S *___dst__P2sS_2, int __a__i_2, int __b__i_2){
    49         ((void)((*___dst__P2sS_2).__a__i_2=__a__i_2) /* ?{} */);
    50         ((void)((*___dst__P2sS_2).__b__i_2=__b__i_2) /* ?{} */);
    51         ((void)((*___dst__P2sS_2).__c__i_2) /* ?{} */);
     49        ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
     50        ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=__b__i_2) /* ?{} */);
     51        ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
    5252    }
    5353    inline void ___constructor__F_P2sSiii_autogen___2(struct S *___dst__P2sS_2, int __a__i_2, int __b__i_2, int __c__i_2){
    54         ((void)((*___dst__P2sS_2).__a__i_2=__a__i_2) /* ?{} */);
    55         ((void)((*___dst__P2sS_2).__b__i_2=__b__i_2) /* ?{} */);
    56         ((void)((*___dst__P2sS_2).__c__i_2=__c__i_2) /* ?{} */);
     54        ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
     55        ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=__b__i_2) /* ?{} */);
     56        ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))=__c__i_2) /* ?{} */);
    5757    }
    5858    int __i__i_2;
     
    9292    }
    9393    inline void ___constructor__F_P3ss2_autogen___2(struct s2 *___dst__P3ss2_2){
    94         ((void)((*___dst__P3ss2_2).__i__i_2) /* ?{} */);
     94        ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ?{} */);
    9595    }
    9696    inline void ___constructor__F_P3ss23ss2_autogen___2(struct s2 *___dst__P3ss2_2, struct s2 ___src__3ss2_2){
    97         ((void)((*___dst__P3ss2_2).__i__i_2=___src__3ss2_2.__i__i_2) /* ?{} */);
     97        ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))=___src__3ss2_2.__i__i_2) /* ?{} */);
    9898    }
    9999    inline void ___destructor__F_P3ss2_autogen___2(struct s2 *___dst__P3ss2_2){
    100         ((void)((*___dst__P3ss2_2).__i__i_2) /* ^?{} */);
     100        ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ^?{} */);
    101101    }
    102102    inline void ___constructor__F_P3ss2i_autogen___2(struct s2 *___dst__P3ss2_2, int __i__i_2){
    103         ((void)((*___dst__P3ss2_2).__i__i_2=__i__i_2) /* ?{} */);
     103        ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))=__i__i_2) /* ?{} */);
    104104    }
    105105    struct s3 {
     
    111111    }
    112112    inline void ___constructor__F_P3ss3_autogen___2(struct s3 *___dst__P3ss3_2){
    113         ((void)((*___dst__P3ss3_2).__i__i_2) /* ?{} */);
     113        ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ?{} */);
    114114    }
    115115    inline void ___constructor__F_P3ss33ss3_autogen___2(struct s3 *___dst__P3ss3_2, struct s3 ___src__3ss3_2){
    116         ((void)((*___dst__P3ss3_2).__i__i_2=___src__3ss3_2.__i__i_2) /* ?{} */);
     116        ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))=___src__3ss3_2.__i__i_2) /* ?{} */);
    117117    }
    118118    inline void ___destructor__F_P3ss3_autogen___2(struct s3 *___dst__P3ss3_2){
    119         ((void)((*___dst__P3ss3_2).__i__i_2) /* ^?{} */);
     119        ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ^?{} */);
    120120    }
    121121    inline void ___constructor__F_P3ss3i_autogen___2(struct s3 *___dst__P3ss3_2, int __i__i_2){
    122         ((void)((*___dst__P3ss3_2).__i__i_2=__i__i_2) /* ?{} */);
     122        ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))=__i__i_2) /* ?{} */);
    123123    }
    124124    struct s3 __x1__3ss3_2;
     
    136136    }
    137137    inline void ___constructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
    138         ((void)((*___dst__P3ss4_2).__i__i_2) /* ?{} */);
     138        ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ?{} */);
    139139    }
    140140    inline void ___constructor__F_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){
    141         ((void)((*___dst__P3ss4_2).__i__i_2=___src__3ss4_2.__i__i_2) /* ?{} */);
     141        ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=___src__3ss4_2.__i__i_2) /* ?{} */);
    142142    }
    143143    inline void ___destructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
    144         ((void)((*___dst__P3ss4_2).__i__i_2) /* ^?{} */);
     144        ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ^?{} */);
    145145    }
    146146    inline void ___constructor__F_P3ss4i_autogen___2(struct s4 *___dst__P3ss4_2, int __i__i_2){
    147         ((void)((*___dst__P3ss4_2).__i__i_2=__i__i_2) /* ?{} */);
     147        ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=__i__i_2) /* ?{} */);
    148148    }
    149149    struct s4 __x2__3ss4_2;
Note: See TracChangeset for help on using the changeset viewer.