Ignore:
Timestamp:
Jan 26, 2025, 6:37:05 PM (3 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
a950021
Parents:
0f070a4 (diff), 11f92fac (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
  • TabularUnified tests/array-collections/boxed.bookend.cfa

    r0f070a4 rde8a0a4  
    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.