Changeset 0cd168f


Ignore:
Timestamp:
Dec 20, 2024, 9:43:21 PM (4 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
28c2c9d5
Parents:
0bf03ba2
Message:

Remove test-code-induced warnings from Array RAII.

(Depends on zero-length tuples' fix of 0bf03ba224.)

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r0bf03ba2 r0cd168f  
    5353        alloc \
    5454        array \
    55         array-collections/array-raii-c \
    56         array-collections/array-raii-cfa \
    5755        array-collections/boxed \
    5856                array-collections/boxed% \
  • tests/array-collections/array-raii.hfa

    r0bf03ba2 r0cd168f  
    5959        }
    6060    }
     61  #pragma GCC diagnostic push
     62  #pragma GCC diagnostic ignored "-Wuninitialized"
    6163    void case1() {
    6264        ADECL1(x, float, 5)
     
    6870        checkzero(x[0].f, x[1].f, x[2].f, x[3].f, x[4].f);
    6971    }
     72  #pragma GCC diagnostic pop
    7073
    7174    writeJunkOnStack(5);
Note: See TracChangeset for help on using the changeset viewer.