Changes in / [a5e2786f:5a02308]


Ignore:
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    ra5e2786f r5a02308  
    174174        echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@
    175175        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@
    176         +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@
     176        echo "0," >> $@
     177#       +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@
    177178        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-empty.make >> $@
    178179        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-expression.make >> $@
  • src/GenPoly/Specialize.cpp

    ra5e2786f r5a02308  
    300300                } ),
    301301                map_range<DWTVector>( newType->params, [&location, &paramNamer]( const ast::Type * type ) {
    302                         auto param = new ast::ObjectDecl( location, paramNamer.newName(), ast::deepCopy( type ) );
    303                         param->attributes.push_back( new ast::Attribute( "unused" ) );
    304                         return param;
     302                        return new ast::ObjectDecl( location, paramNamer.newName(), ast::deepCopy( type ) );
    305303                } ),
    306304                map_range<DWTVector>( newType->returns, [&location, &paramNamer]( const ast::Type * type ) {
  • src/InitTweak/FixInit.cpp

    ra5e2786f r5a02308  
    7070                ast::Linkage::Cforall
    7171        );
    72         dstParam->attributes.push_back( new ast::Attribute( "unused" ) );
    7372        return new ast::FunctionDecl( loc,
    7473                fname,
  • tests/Makefile.am

    ra5e2786f r5a02308  
    5252WFLGAS_OPT_LAX = \
    5353        alloc \
     54        alloc2 \
    5455        array \
     56        array-collections/array-raii-c \
     57        array-collections/array-raii-cfa \
    5558        array-collections/boxed \
    5659                array-collections/boxed% \
     
    9598        concurrency/examples/boundedBufferEXT \
    9699        concurrency/examples/boundedBufferINT \
     100        concurrency/futures/abandon \
    97101        concurrency/futures/multi \
    98102        concurrency/futures/select_future \
     
    175179        function-operator \
    176180        gmp \
     181        heap \
    177182        identFuncDeclarator \
    178183        identParamDeclarator \
  • tests/array-collections/array-raii.hfa

    ra5e2786f r5a02308  
    5959        }
    6060    }
    61   #pragma GCC diagnostic push
    62   #pragma GCC diagnostic ignored "-Wuninitialized"
    63   #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
    6461    void case1() {
    6562        ADECL1(x, float, 5)
     
    7168        checkzero(x[0].f, x[1].f, x[2].f, x[3].f, x[4].f);
    7269    }
    73   #pragma GCC diagnostic pop
    7470
    7571    writeJunkOnStack(5);
  • tests/nowarn/unused.cfa

    ra5e2786f r5a02308  
    1717enum () foo_t { foo };
    1818
    19 // on empty tuple,  __cleanup_dtor takes zero actions on its param and
    20 // _thunk's purpose is to ignore its param
    21 forall( Args... | { void foo( Args ); } )
    22 void wrap( Args ) {}
    23 void foo() {}
    24 void callWrap() {
    25     wrap();
    26 }
    27 
    2819
    2920int main() {
Note: See TracChangeset for help on using the changeset viewer.