Changeset c09e4bc


Ignore:
Timestamp:
Aug 16, 2016, 3:30:15 PM (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:
b7ea418
Parents:
1f6d4624
Message:

fixed declarationSpecifier for 64-bits

File:
1 moved

Legend:

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

    r1f6d4624 rc09e4bc  
    1 extern void *malloc(unsigned int __size);
     1extern void *malloc(long unsigned int __size);
    22extern void free(void *__ptr);
    33extern void abort(void);
     
    531531}
    532532__attribute__ ((constructor(),)) static void _init_declarationSpecifier(void){
    533     volatile const short _global_init0;
    534     ((void)((*((short *)(&__x1__CVs_1)))=_global_init0) /* ?{} */);
    535     volatile const short _global_init1;
    536     ((void)((*((short *)(&__x2__CVs_1)))=_global_init1) /* ?{} */);
    537     volatile const short _global_init2;
    538     ((void)((*((short *)(&__x3__CVs_1)))=_global_init2) /* ?{} */);
    539     volatile const short _global_init3;
    540     ((void)((*((short *)(&__x4__CVs_1)))=_global_init3) /* ?{} */);
    541     volatile const short _global_init4;
    542     ((void)((*((short *)(&__x5__CVs_1)))=_global_init4) /* ?{} */);
    543     volatile const short _global_init5;
    544     ((void)((*((short *)(&__x6__CVs_1)))=_global_init5) /* ?{} */);
    545     volatile const short _global_init6;
    546     ((void)((*((short *)(&__x7__CVs_1)))=_global_init6) /* ?{} */);
    547     volatile const short _global_init7;
    548     ((void)((*((short *)(&__x8__CVs_1)))=_global_init7) /* ?{} */);
    549     volatile const struct __anonymous0 _global_init8;
    550     ((void)___constructor__F_P13s__anonymous0_autogen___1(((struct __anonymous0 *)(&_global_init8))));
    551     ((void)___constructor__F_P13s__anonymous013s__anonymous0_autogen___1(((struct __anonymous0 *)(&__x10__CV13s__anonymous0_1)), _global_init8));
    552     volatile const struct __anonymous1 _global_init9;
    553     ((void)___constructor__F_P13s__anonymous1_autogen___1(((struct __anonymous1 *)(&_global_init9))));
    554     ((void)___constructor__F_P13s__anonymous113s__anonymous1_autogen___1(((struct __anonymous1 *)(&__x11__CV13s__anonymous1_1)), _global_init9));
    555     volatile const struct __anonymous2 _global_init10;
    556     ((void)___constructor__F_P13s__anonymous2_autogen___1(((struct __anonymous2 *)(&_global_init10))));
    557     ((void)___constructor__F_P13s__anonymous213s__anonymous2_autogen___1(((struct __anonymous2 *)(&__x12__CV13s__anonymous2_1)), _global_init10));
    558     volatile const struct __anonymous3 _global_init11;
    559     ((void)___constructor__F_P13s__anonymous3_autogen___1(((struct __anonymous3 *)(&_global_init11))));
    560     ((void)___constructor__F_P13s__anonymous313s__anonymous3_autogen___1(((struct __anonymous3 *)(&__x13__CV13s__anonymous3_1)), _global_init11));
    561     volatile const struct __anonymous4 _global_init12;
    562     ((void)___constructor__F_P13s__anonymous4_autogen___1(((struct __anonymous4 *)(&_global_init12))));
    563     ((void)___constructor__F_P13s__anonymous413s__anonymous4_autogen___1(((struct __anonymous4 *)(&__x14__CV13s__anonymous4_1)), _global_init12));
    564     volatile const struct __anonymous5 _global_init13;
    565     ((void)___constructor__F_P13s__anonymous5_autogen___1(((struct __anonymous5 *)(&_global_init13))));
    566     ((void)___constructor__F_P13s__anonymous513s__anonymous5_autogen___1(((struct __anonymous5 *)(&__x15__CV13s__anonymous5_1)), _global_init13));
    567     volatile const struct __anonymous6 _global_init14;
    568     ((void)___constructor__F_P13s__anonymous6_autogen___1(((struct __anonymous6 *)(&_global_init14))));
    569     ((void)___constructor__F_P13s__anonymous613s__anonymous6_autogen___1(((struct __anonymous6 *)(&__x16__CV13s__anonymous6_1)), _global_init14));
    570     volatile const struct __anonymous7 _global_init15;
    571     ((void)___constructor__F_P13s__anonymous7_autogen___1(((struct __anonymous7 *)(&_global_init15))));
    572     ((void)___constructor__F_P13s__anonymous713s__anonymous7_autogen___1(((struct __anonymous7 *)(&__x17__CV13s__anonymous7_1)), _global_init15));
    573     volatile const short _global_init16;
    574     ((void)((*((short *)(&__x20__CVs_1)))=_global_init16) /* ?{} */);
    575     volatile const short _global_init17;
    576     ((void)((*((short *)(&__x21__CVs_1)))=_global_init17) /* ?{} */);
    577     volatile const short _global_init18;
    578     ((void)((*((short *)(&__x22__CVs_1)))=_global_init18) /* ?{} */);
    579     volatile const short _global_init19;
    580     ((void)((*((short *)(&__x23__CVs_1)))=_global_init19) /* ?{} */);
    581     volatile const short _global_init20;
    582     ((void)((*((short *)(&__x24__CVs_1)))=_global_init20) /* ?{} */);
    583     volatile const short _global_init21;
    584     ((void)((*((short *)(&__x25__CVs_1)))=_global_init21) /* ?{} */);
    585     volatile const short _global_init22;
    586     ((void)((*((short *)(&__x26__CVs_1)))=_global_init22) /* ?{} */);
    587     volatile const short _global_init23;
    588     ((void)((*((short *)(&__x27__CVs_1)))=_global_init23) /* ?{} */);
    589     volatile const struct __anonymous8 _global_init24;
    590     ((void)___constructor__F_P13s__anonymous8_autogen___1(((struct __anonymous8 *)(&_global_init24))));
    591     ((void)___constructor__F_P13s__anonymous813s__anonymous8_autogen___1(((struct __anonymous8 *)(&__x29__CV13s__anonymous8_1)), _global_init24));
    592     volatile const struct __anonymous9 _global_init25;
    593     ((void)___constructor__F_P13s__anonymous9_autogen___1(((struct __anonymous9 *)(&_global_init25))));
    594     ((void)___constructor__F_P13s__anonymous913s__anonymous9_autogen___1(((struct __anonymous9 *)(&__x30__CV13s__anonymous9_1)), _global_init25));
    595     volatile const struct __anonymous10 _global_init26;
    596     ((void)___constructor__F_P14s__anonymous10_autogen___1(((struct __anonymous10 *)(&_global_init26))));
    597     ((void)___constructor__F_P14s__anonymous1014s__anonymous10_autogen___1(((struct __anonymous10 *)(&__x31__CV14s__anonymous10_1)), _global_init26));
    598     volatile const struct __anonymous11 _global_init27;
    599     ((void)___constructor__F_P14s__anonymous11_autogen___1(((struct __anonymous11 *)(&_global_init27))));
    600     ((void)___constructor__F_P14s__anonymous1114s__anonymous11_autogen___1(((struct __anonymous11 *)(&__x32__CV14s__anonymous11_1)), _global_init27));
    601     volatile const struct __anonymous12 _global_init28;
    602     ((void)___constructor__F_P14s__anonymous12_autogen___1(((struct __anonymous12 *)(&_global_init28))));
    603     ((void)___constructor__F_P14s__anonymous1214s__anonymous12_autogen___1(((struct __anonymous12 *)(&__x33__CV14s__anonymous12_1)), _global_init28));
    604     volatile const struct __anonymous13 _global_init29;
    605     ((void)___constructor__F_P14s__anonymous13_autogen___1(((struct __anonymous13 *)(&_global_init29))));
    606     ((void)___constructor__F_P14s__anonymous1314s__anonymous13_autogen___1(((struct __anonymous13 *)(&__x34__CV14s__anonymous13_1)), _global_init29));
    607     volatile const struct __anonymous14 _global_init30;
    608     ((void)___constructor__F_P14s__anonymous14_autogen___1(((struct __anonymous14 *)(&_global_init30))));
    609     ((void)___constructor__F_P14s__anonymous1414s__anonymous14_autogen___1(((struct __anonymous14 *)(&__x35__CV14s__anonymous14_1)), _global_init30));
    610     volatile const struct __anonymous15 _global_init31;
    611     ((void)___constructor__F_P14s__anonymous15_autogen___1(((struct __anonymous15 *)(&_global_init31))));
    612     ((void)___constructor__F_P14s__anonymous1514s__anonymous15_autogen___1(((struct __anonymous15 *)(&__x36__CV14s__anonymous15_1)), _global_init31));
    613     ((void)___destructor__F_P14s__anonymous15_autogen___1(((struct __anonymous15 *)(&_global_init31))));
    614     ((void)___destructor__F_P14s__anonymous14_autogen___1(((struct __anonymous14 *)(&_global_init30))));
    615     ((void)___destructor__F_P14s__anonymous13_autogen___1(((struct __anonymous13 *)(&_global_init29))));
    616     ((void)___destructor__F_P14s__anonymous12_autogen___1(((struct __anonymous12 *)(&_global_init28))));
    617     ((void)___destructor__F_P14s__anonymous11_autogen___1(((struct __anonymous11 *)(&_global_init27))));
    618     ((void)___destructor__F_P14s__anonymous10_autogen___1(((struct __anonymous10 *)(&_global_init26))));
    619     ((void)___destructor__F_P13s__anonymous9_autogen___1(((struct __anonymous9 *)(&_global_init25))));
    620     ((void)___destructor__F_P13s__anonymous8_autogen___1(((struct __anonymous8 *)(&_global_init24))));
    621     ((void)___destructor__F_P13s__anonymous7_autogen___1(((struct __anonymous7 *)(&_global_init15))));
    622     ((void)___destructor__F_P13s__anonymous6_autogen___1(((struct __anonymous6 *)(&_global_init14))));
    623     ((void)___destructor__F_P13s__anonymous5_autogen___1(((struct __anonymous5 *)(&_global_init13))));
    624     ((void)___destructor__F_P13s__anonymous4_autogen___1(((struct __anonymous4 *)(&_global_init12))));
    625     ((void)___destructor__F_P13s__anonymous3_autogen___1(((struct __anonymous3 *)(&_global_init11))));
    626     ((void)___destructor__F_P13s__anonymous2_autogen___1(((struct __anonymous2 *)(&_global_init10))));
    627     ((void)___destructor__F_P13s__anonymous1_autogen___1(((struct __anonymous1 *)(&_global_init9))));
    628     ((void)___destructor__F_P13s__anonymous0_autogen___1(((struct __anonymous0 *)(&_global_init8))));
     533    ((void)___constructor__F_P13s__anonymous0_autogen___1(((struct __anonymous0 *)(&__x10__CV13s__anonymous0_1))));
     534    ((void)___constructor__F_P13s__anonymous1_autogen___1(((struct __anonymous1 *)(&__x11__CV13s__anonymous1_1))));
     535    ((void)___constructor__F_P13s__anonymous2_autogen___1(((struct __anonymous2 *)(&__x12__CV13s__anonymous2_1))));
     536    ((void)___constructor__F_P13s__anonymous3_autogen___1(((struct __anonymous3 *)(&__x13__CV13s__anonymous3_1))));
     537    ((void)___constructor__F_P13s__anonymous4_autogen___1(((struct __anonymous4 *)(&__x14__CV13s__anonymous4_1))));
     538    ((void)___constructor__F_P13s__anonymous5_autogen___1(((struct __anonymous5 *)(&__x15__CV13s__anonymous5_1))));
     539    ((void)___constructor__F_P13s__anonymous6_autogen___1(((struct __anonymous6 *)(&__x16__CV13s__anonymous6_1))));
     540    ((void)___constructor__F_P13s__anonymous7_autogen___1(((struct __anonymous7 *)(&__x17__CV13s__anonymous7_1))));
     541    ((void)___constructor__F_P13s__anonymous8_autogen___1(((struct __anonymous8 *)(&__x29__CV13s__anonymous8_1))));
     542    ((void)___constructor__F_P13s__anonymous9_autogen___1(((struct __anonymous9 *)(&__x30__CV13s__anonymous9_1))));
     543    ((void)___constructor__F_P14s__anonymous10_autogen___1(((struct __anonymous10 *)(&__x31__CV14s__anonymous10_1))));
     544    ((void)___constructor__F_P14s__anonymous11_autogen___1(((struct __anonymous11 *)(&__x32__CV14s__anonymous11_1))));
     545    ((void)___constructor__F_P14s__anonymous12_autogen___1(((struct __anonymous12 *)(&__x33__CV14s__anonymous12_1))));
     546    ((void)___constructor__F_P14s__anonymous13_autogen___1(((struct __anonymous13 *)(&__x34__CV14s__anonymous13_1))));
     547    ((void)___constructor__F_P14s__anonymous14_autogen___1(((struct __anonymous14 *)(&__x35__CV14s__anonymous14_1))));
     548    ((void)___constructor__F_P14s__anonymous15_autogen___1(((struct __anonymous15 *)(&__x36__CV14s__anonymous15_1))));
    629549}
    630550__attribute__ ((destructor(),)) static void _destroy_declarationSpecifier(void){
     
    637557    ((void)___destructor__F_P13s__anonymous9_autogen___1(((struct __anonymous9 *)(&__x30__CV13s__anonymous9_1))));
    638558    ((void)___destructor__F_P13s__anonymous8_autogen___1(((struct __anonymous8 *)(&__x29__CV13s__anonymous8_1))));
    639     ((void)((*((short *)(&__x27__CVs_1)))) /* ^?{} */);
    640     ((void)((*((short *)(&__x26__CVs_1)))) /* ^?{} */);
    641     ((void)((*((short *)(&__x25__CVs_1)))) /* ^?{} */);
    642     ((void)((*((short *)(&__x24__CVs_1)))) /* ^?{} */);
    643     ((void)((*((short *)(&__x23__CVs_1)))) /* ^?{} */);
    644     ((void)((*((short *)(&__x22__CVs_1)))) /* ^?{} */);
    645     ((void)((*((short *)(&__x21__CVs_1)))) /* ^?{} */);
    646     ((void)((*((short *)(&__x20__CVs_1)))) /* ^?{} */);
    647559    ((void)___destructor__F_P13s__anonymous7_autogen___1(((struct __anonymous7 *)(&__x17__CV13s__anonymous7_1))));
    648560    ((void)___destructor__F_P13s__anonymous6_autogen___1(((struct __anonymous6 *)(&__x16__CV13s__anonymous6_1))));
     
    653565    ((void)___destructor__F_P13s__anonymous1_autogen___1(((struct __anonymous1 *)(&__x11__CV13s__anonymous1_1))));
    654566    ((void)___destructor__F_P13s__anonymous0_autogen___1(((struct __anonymous0 *)(&__x10__CV13s__anonymous0_1))));
    655     ((void)((*((short *)(&__x8__CVs_1)))) /* ^?{} */);
    656     ((void)((*((short *)(&__x7__CVs_1)))) /* ^?{} */);
    657     ((void)((*((short *)(&__x6__CVs_1)))) /* ^?{} */);
    658     ((void)((*((short *)(&__x5__CVs_1)))) /* ^?{} */);
    659     ((void)((*((short *)(&__x4__CVs_1)))) /* ^?{} */);
    660     ((void)((*((short *)(&__x3__CVs_1)))) /* ^?{} */);
    661     ((void)((*((short *)(&__x2__CVs_1)))) /* ^?{} */);
    662     ((void)((*((short *)(&__x1__CVs_1)))) /* ^?{} */);
    663 }
     567}
Note: See TracChangeset for help on using the changeset viewer.