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 src/Concurrency/Waituntil.cpp

    r3e5fea2 rd923fca  
    720720                                                )
    721721                                            ),
    722                                             new BranchStmt( cLoc, BranchStmt::Kind::Break, Label( cLoc, switchLabel ) )
     722                                            new BranchStmt( cLoc, BranchStmt::Goto, Label( cLoc, switchLabel ) )
    723723                                        }
    724724                                    )
     
    733733                        new NameExpr( loc, idxName ),
    734734                        std::move( switchCases ),
     735                        {}
     736                )
     737        );
     738
     739        ifBody->push_back(
     740                new NullStmt( loc,
    735741                        { Label( loc, switchLabel ) }
    736742                )
     
    790796                                                { new NameExpr( loc, clauseData.at(0)->statusName ) }
    791797                                            ),
    792                                             new BranchStmt( loc, BranchStmt::Kind::Break, Label( loc, forLabel ) )
     798                                            new BranchStmt( loc, BranchStmt::Goto, Label( loc, forLabel ) )
    793799                                        ),
    794800                                        ifSwitch
    795801                                    }
    796802                                ),   // body
     803                                {}
     804                        ),
     805                        new NullStmt( loc,
    797806                                { Label( loc, forLabel ) }
    798807                        )
Note: See TracChangeset for help on using the changeset viewer.