Ignore:
Timestamp:
Feb 18, 2025, 12:54:23 PM (6 weeks ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
8705a11
Parents:
3e5fea2
Message:

Clean-up the warnings of the concurrency tests. A lot of little test level fixes, the most interesting repeated one is some formally redundent fallthough statements. pthread_attr_test had to be rewritten because of library restrictions. Changed some types so they would always be pointer sized. There was a library change, there was a function that could not be implemented; I trust that it is included for a reason so I just put it in a comment. There is a change to the compiler, wait-until now uses goto. The labelled breaks were code generated as unlabelled breaks and although it worked out slipped through some checks. Finally, there is one warning that I cannot solve at this time so tests that produce it have been put in their own lax group.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tests/concurrency/actors/matrixMultiply.cfa

    r3e5fea2 rd923fca  
    2424}
    2525
    26 allocation receive( derived_actor & receiver, derived_msg & msg ) {
     26allocation receive( derived_actor &, derived_msg & msg ) {
    2727        for ( i; yc ) {                                                                         // multiply X_row by Y_col and sum products
    2828                msg.Z[i] = 0;
     
    4141                        if ( Processors < 1 ) fallthrough default;
    4242                } // if
     43        fallthrough;
    4344          case 4:
    4445                if ( strcmp( argv[3], "d" ) != 0 ) {                    // default ?
     
    4647                        if ( xr < 1 ) fallthrough default;
    4748                } // if
     49        fallthrough;
    4850          case 3:
    4951                if ( strcmp( argv[2], "d" ) != 0 ) {                    // default ?
     
    5153                        if ( xc < 1 ) fallthrough default;
    5254                } // if
     55        fallthrough;
    5356          case 2:
    5457                if ( strcmp( argv[1], "d" ) != 0 ) {                    // default ?
     
    5659                        if ( yc < 1 ) fallthrough default;
    5760                } // if
     61        fallthrough;
    5862          case 1:                                                                                       // use defaults
    5963                break;
Note: See TracChangeset for help on using the changeset viewer.