Changeset b3609b2 for tests


Ignore:
Timestamp:
Jul 6, 2026, 8:50:52 AM (3 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
0fd9c68
Parents:
6fbd475
Message:

make ignored "-Wdangling-pointer" conditional on gcc >= 12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/suspend_then.cfa

    r6fbd475 rb3609b2  
    8080        resume( c ); // Prime the coroutine to avoid one of the threads being its starter
    8181
     82#if defined(__GNUC__) && __GNUC__ == 12
    8283        #pragma GCC diagnostic push
    8384        #pragma GCC diagnostic ignored "-Wdangling-pointer"     // this assignment is ok
     85#endif // defined(__GNUC__) && __GNUC__ == 12
    8486        the_cor = &c;
     87#if defined(__GNUC__) && __GNUC__ == 12
    8588        #pragma GCC diagnostic pop
     89#endif // defined(__GNUC__) && __GNUC__ == 12
    8690
    8791        {
Note: See TracChangeset for help on using the changeset viewer.