mirror of git://gcc.gnu.org/git/gcc.git
gcc/c-family/ * c.opt (Wdeprecated-copy): New flag. gcc/cp/ * call.c (build_over_call): Warn about deprecated trivial fns. * class.c (classtype_has_user_copy_or_dtor): New. (type_build_ctor_call): Check TREE_DEPRECATED. (type_build_dtor_call): Likewise. * decl2.c (cp_warn_deprecated_use): Move from tree.c. Add checks. Return bool. Handle -Wdeprecated-copy. (mark_used): Use it. * decl.c (grokdeclarator): Remove redundant checks. * typeck2.c (build_functional_cast): Likewise. * method.c (lazily_declare_fn): Mark deprecated copy ops. * init.c (build_aggr_init): Only set TREE_USED if there are side-effects. libitm/ * beginend.cc (save): Disable -Werror=deprecated-copy. From-SVN: r260381 |
||
|---|---|---|
| .. | ||
| config | ||
| testsuite | ||
| ChangeLog | ||
| Makefile.am | ||
| Makefile.in | ||
| aatree.cc | ||
| aatree.h | ||
| acinclude.m4 | ||
| aclocal.m4 | ||
| alloc.cc | ||
| alloc_c.cc | ||
| alloc_cpp.cc | ||
| barrier.cc | ||
| beginend.cc | ||
| clone.cc | ||
| common.h | ||
| config.h.in | ||
| configure | ||
| configure.ac | ||
| configure.tgt | ||
| containers.h | ||
| dispatch.h | ||
| eh_cpp.cc | ||
| libitm.h | ||
| libitm.map | ||
| libitm.spec.in | ||
| libitm.texi | ||
| libitm_i.h | ||
| local.cc | ||
| local_atomic | ||
| method-gl.cc | ||
| method-ml.cc | ||
| method-serial.cc | ||
| query.cc | ||
| retry.cc | ||
| useraction.cc | ||
| util.cc | ||