re PR c++/15083 (spurious "statement has no effect" warning)
PR c++/15083 * decl2.c (delete_sanity): Set TREE_SIDE_EFFECTS on a DELETE_EXPR, even in a templat.e * init.c (build_new): Likewise. PR c++/15640 * name-lookup.c (arg_assoc): Robustify. PR c++/15471 * typeck.c (unary_complex_lvalue): Use context_for_name_lookup when determining the scope to use for a pointer to member. PR c++/15083 * g++.dg/warn/noeffect5.C: New test. PR c++/15471 * g++.dg/expr/ptrmem4.C: New test. PR c++/15640 * g++.dg/template/operator3.C: New test. From-SVN: r82391
Showing
gcc/testsuite/g++.dg/expr/ptrmem4.C
0 → 100644
gcc/testsuite/g++.dg/template/operator3.C
0 → 100644
gcc/testsuite/g++.dg/warn/noeffect6.C
0 → 100644
Please
register
or
sign in
to comment