Ignore:
Timestamp:
Jan 23, 2025, 2:42:49 PM (8 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
f070ea8
Parents:
a750c71b (diff), 857b5f9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/array-collections/boxed.bookend.cfa

    ra750c71b r9e72bae3  
    2727static char * bookend_hi = 0p;
    2828
     29// bookend pointers are set to stack addresses and compared (but not dereferenced)
     30// after their functions exit; they are "dangling"
     31#pragma GCC diagnostic push
     32#pragma GCC diagnostic ignored "-Wpragmas" // -Wdangling-pointer unrecognized until GCC 12
     33#pragma GCC diagnostic ignored "-Wdangling-pointer"
     34
    2935void bookendInner( void ) {
    3036    char var = 'x';
     
    3541#define TC(...)
    3642#define TR( TRID, SZS, SZV, ETG, ACCS, SPS, OVLD ) \
    37     F_SIG( bookendOuter, TRID, SZS, SZV, ACCS, SPS, OVLD ) {                                  \
     43    F_SIG( bookendOuter, TRID, SZS, SZV, ACCS, SPS, OVLD ) {                         \
    3844        char var = 'x';                                                              \
    3945        (void) var;                                                                  \
    4046        bookend_hi = & var;                                                          \
    41         return CALL( allocAndAccess, TRID, SZS, n, expectedElmSz, tcid, vart );     \
     47        return CALL( allocAndAccess, TRID, SZS, n, expectedElmSz, tcid, vart );      \
    4248    }
    4349#include "boxed.cases.hfa"
    4450#undef TC
    4551#undef TR
     52
     53#pragma GCC diagnostic pop
    4654
    4755void resetBookends( void ) {
Note: See TracChangeset for help on using the changeset viewer.