1 /* PR c/98597 - ICE in -Wuninitialized printing a MEM_REF
3 { dg-options "-O2 -Wall -fno-tree-vectorize" } */
5 /* After vectorization, the location of the warning that's off,
6 the warning itself is still issued but it's swallowed by
7 the dg-prune-output directive. Refer to pr102700. */
10 shared_count (shared_count &r)
11 : pi (r.pi) { } // { dg-warning "\\\[-Wuninitialized" }
15 // There's another (redundant) -Wuninitialized on the line below.
18 shared_count refcount;
22 Bar (int, shared_ptr);
30 // Prune out duplicates.
31 // { dg-prune-output "-Wuninitialized" }