re PR c++/39803 (Bogus 'unused value' warning on declarations of non-POD arrays)
PR c++/39803
* gcc/cp/init.c (build_vec_init): Set TREE_NO_WARNING on the
compiler-generated INDIRECT_REF expression.
* gcc/testsuite/g++.dg/warn/Wunused-14.C: New test.
From-SVN: r146454
Showing
gcc/testsuite/g++.dg/warn/Wunused-14.C
0 → 100644
Please
register
or
sign in
to comment