Changeset 58eb9250 for tests


Ignore:
Timestamp:
Jan 6, 2025, 12:34:42 PM (2 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
1f6623c, 66e7cc1
Parents:
8893ad4
Message:

Partly fix #269 and try to fix nightly build. Switch to correct type for polymorphic sizeof(-) on 32-bit.

Location:
tests
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/functions.x86.txt

    r8893ad4 r58eb9250  
    123123struct _tuple2_ {
    124124};
    125 static inline void _layoutof__tuple2_(unsigned long int *_sizeof__tuple2_, unsigned long int *_alignof__tuple2_, unsigned long int *_offsetof__tuple2_, const unsigned long int _sizeof_Y15tuple_param_2_0, __attribute__ ((unused)) const unsigned long int _alignof_Y15tuple_param_2_0, const unsigned long int _sizeof_Y15tuple_param_2_1, __attribute__ ((unused)) const unsigned long int _alignof_Y15tuple_param_2_1){
     125static inline void _layoutof__tuple2_(unsigned int *_sizeof__tuple2_, unsigned int *_alignof__tuple2_, unsigned int *_offsetof__tuple2_, const unsigned int _sizeof_Y15tuple_param_2_0, __attribute__ ((unused)) const unsigned int _alignof_Y15tuple_param_2_0, const unsigned int _sizeof_Y15tuple_param_2_1, __attribute__ ((unused)) const unsigned int _alignof_Y15tuple_param_2_1){
    126126    ((void)((*_sizeof__tuple2_)=0));
    127127    ((void)((*_alignof__tuple2_)=1));
     
    160160struct _tuple3_ {
    161161};
    162 static inline void _layoutof__tuple3_(unsigned long int *_sizeof__tuple3_, unsigned long int *_alignof__tuple3_, unsigned long int *_offsetof__tuple3_, const unsigned long int _sizeof_Y15tuple_param_3_0, __attribute__ ((unused)) const unsigned long int _alignof_Y15tuple_param_3_0, const unsigned long int _sizeof_Y15tuple_param_3_1, __attribute__ ((unused)) const unsigned long int _alignof_Y15tuple_param_3_1, const unsigned long int _sizeof_Y15tuple_param_3_2, __attribute__ ((unused)) const unsigned long int _alignof_Y15tuple_param_3_2){
     162static inline void _layoutof__tuple3_(unsigned int *_sizeof__tuple3_, unsigned int *_alignof__tuple3_, unsigned int *_offsetof__tuple3_, const unsigned int _sizeof_Y15tuple_param_3_0, __attribute__ ((unused)) const unsigned int _alignof_Y15tuple_param_3_0, const unsigned int _sizeof_Y15tuple_param_3_1, __attribute__ ((unused)) const unsigned int _alignof_Y15tuple_param_3_1, const unsigned int _sizeof_Y15tuple_param_3_2, __attribute__ ((unused)) const unsigned int _alignof_Y15tuple_param_3_2){
    163163    ((void)((*_sizeof__tuple3_)=0));
    164164    ((void)((*_alignof__tuple3_)=1));
  • tests/nowarn/zero-thunk.cfa

    r8893ad4 r58eb9250  
    66forall( T )
    77T g( zero_t ) {
    8     printf( "%ld\n", sizeof(T) );
     8    printf( "%zd\n", sizeof(T) );
    99    return (T){};
    1010}
Note: See TracChangeset for help on using the changeset viewer.